RBPhotoField Class Reference

Inherits from UIControl
Declared in RBPhotoField.h

Overview

An image selection form field.

  emptyImage

The placeholder image to display when there is no image selected.

@property (nonatomic, nullable) UIImage *emptyImage

Discussion

The placeholder image to display when there is no image selected.

Declared In

RBPhotoField.h

  emptyImageMargin

The margin to display around the placeholder image.

@property (nonatomic) UIEdgeInsets emptyImageMargin

Discussion

The margin to display around the placeholder image.

Declared In

RBPhotoField.h

  buttonMargins

The margin to display around the buttons.

@property (nonatomic) UIEdgeInsets buttonMargins

Discussion

The margin to display around the buttons.

Declared In

RBPhotoField.h

  buttonSpacing

The spacing between buttons.

@property (nonatomic) float buttonSpacing

Discussion

The spacing between buttons.

Declared In

RBPhotoField.h

  currentValue

The current value of the image field.

@property (nonatomic, nullable) UIImage *currentValue

Discussion

The current value of the image field.

Declared In

RBPhotoField.h

  hasCameraButton

Whether or not the camera button is to be displayed.

@property (nonatomic) BOOL hasCameraButton

Discussion

Whether or not the camera button is to be displayed.

Declared In

RBPhotoField.h

  hasLibraryButton

Whether or not the library button is to be displayed.

@property (nonatomic) BOOL hasLibraryButton

Discussion

Whether or not the library button is to be displayed.

Declared In

RBPhotoField.h

  delegate

The delegate to receive image selection events.

@property (nonatomic, weak, nullable) id<RBPhotoFieldDelegate> delegate

Discussion

The delegate to receive image selection events.

Declared In

RBPhotoField.h