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

Declared In

RBPhotoField.h

  emptyImageMargin

The margin to display around the placeholder image.

@property (nonatomic) UIEdgeInsets emptyImageMargin

Declared In

RBPhotoField.h

  buttonMargins

The margin to display around the buttons.

@property (nonatomic) UIEdgeInsets buttonMargins

Declared In

RBPhotoField.h

  buttonSpacing

The spacing between buttons.

@property (nonatomic) float buttonSpacing

Declared In

RBPhotoField.h

  currentValue

The current value of the image field.

@property (nonatomic, nullable) UIImage *currentValue

Declared In

RBPhotoField.h

  hasCameraButton

Whether or not the camera button is to be displayed. Default = YES.

@property (nonatomic) BOOL hasCameraButton

Declared In

RBPhotoField.h

  hasLibraryButton

Whether or not the library button is to be displayed. Default = YES.

@property (nonatomic) BOOL hasLibraryButton

Declared In

RBPhotoField.h

  hasImageView

Whether or not the imageView should be displayed. Default = YES.

@property (nonatomic) BOOL hasImageView

Declared In

RBPhotoField.h

  delegate

The delegate to receive image selection events.

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

Declared In

RBPhotoField.h