PSPDFGalleryContentCaptionView


@interface PSPDFGalleryContentCaptionView
    : UIView <PSPDFGalleryContentViewCaption>

The caption view used in PSPDFGalleryContentCaptionView.

  • The caption.

    Declaration

    Objective-C

    @property (readwrite, copy, nonatomic, nullable) NSString *caption;

    Swift

    var caption: String? { get set }
  • The label used to display the caption.

    Declaration

    Objective-C

    @property (readonly, nonatomic) UILabel *_Nonnull label;

    Swift

    var label: UILabel { get }
  • The content inset by which the label is inset within this view.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) UIEdgeInsets contentInset;

    Swift

    var contentInset: UIEdgeInsets { get set }