PSPDFGalleryContentCaptionView

Objective-C


@interface PSPDFGalleryContentCaptionView
    : UIView <PSPDFGalleryContentViewCaption>

Swift

class GalleryContentCaptionView : UIView, GalleryContentViewCaption

The caption view used in PSPDFGalleryContentCaptionView.

  • The caption.

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

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

    Swift

    var contentInset: UIEdgeInsets { get set }