PTDocumentViewSettingsController


@interface PTDocumentViewSettingsController
    : UITableViewController <PTOverridable>

The PTDocumentViewSettingsController class displays settings to control a PTPDFViewCtrl.

  • The settings object that is used to persist view preferences.

    Declaration

    Objective-C

    @property (nonatomic, strong, readwrite, null_resettable)
        PTDocumentViewSettings *settings;

    Swift

    var settings: PTDocumentViewSettings! { get set }
  • The PTPDFViewCtrl that the control will apply settings changes to.

    Declaration

    Objective-C

    @property (nonatomic, weak, readonly) PTPDFViewCtrl *_Nullable pdfViewCtrl;

    Swift

    weak var pdfViewCtrl: PTPDFViewCtrl? { get }
  • true if single page mode is hidden; false otherwise. Default is false.

    Declaration

    Objective-C

    @property (nonatomic, assign, unsafe_unretained, readwrite)
        BOOL viewModeSinglePageHidden;

    Swift

    var viewModeSinglePageHidden: Bool { get set }
  • true if facing page mode is hidden; false otherwise. Default is false.

    Declaration

    Objective-C

    @property (nonatomic, assign, unsafe_unretained, readwrite)
        BOOL viewModeFacingHidden;

    Swift

    var viewModeFacingHidden: Bool { get set }
  • true if cover facing page mode is hidden; false otherwise. Default is false.

    Declaration

    Objective-C

    @property (nonatomic, assign, unsafe_unretained, readwrite)
        BOOL viewModeCoverFacingHidden;

    Swift

    var viewModeCoverFacingHidden: Bool { get set }
  • true if right to left page mode is hidden; false otherwise. Default is true unless UIApplication.sharedApplication.userInterfaceLayoutDirection == UIUserInterfaceLayoutDirectionRightToLeft is true, in which case the default is false.

    Declaration

    Objective-C

    @property (nonatomic, assign, unsafe_unretained, readwrite)
        BOOL viewModeRightToLeftHidden;

    Swift

    var viewModeRightToLeftHidden: Bool { get set }
  • true if reader mode is hidden; false otherwise. Default is false.

    Declaration

    Objective-C

    @property (nonatomic, assign, unsafe_unretained, readwrite)
        BOOL viewModeReaderHidden;

    Swift

    var viewModeReaderHidden: Bool { get set }
  • true if continuous page mode is hidden; false otherwise. Default is false.

    Declaration

    Objective-C

    @property (nonatomic, assign, unsafe_unretained, readwrite)
        BOOL viewModeContinuousHidden;

    Swift

    var viewModeContinuousHidden: Bool { get set }
  • true if light color mode is hidden; false otherwise. Default is false.

    Declaration

    Objective-C

    @property (nonatomic, assign, unsafe_unretained, readwrite)
        BOOL colorModeLightHidden;

    Swift

    var colorModeLightHidden: Bool { get set }
  • true if cark color mode mode is hidden; false otherwise. Default is false.

    Declaration

    Objective-C

    @property (nonatomic, assign, unsafe_unretained, readwrite)
        BOOL colorModeDarkHidden;

    Swift

    var colorModeDarkHidden: Bool { get set }
  • true if sepia color mode is hidden; false otherwise. Default is false.

    Declaration

    Objective-C

    @property (nonatomic, assign, unsafe_unretained, readwrite)
        BOOL colorModeSepiaHidden;

    Swift

    var colorModeSepiaHidden: Bool { get set }
  • true if page rotation is hidden; false otherwise. Default is false.

    Declaration

    Objective-C

    @property (nonatomic, assign, unsafe_unretained, readwrite)
        BOOL pageRotationHidden;

    Swift

    var pageRotationHidden: Bool { get set }
  • true if crop pages is hidden; false otherwise. Default is false.

    Declaration

    Objective-C

    @property (nonatomic, assign, unsafe_unretained, readwrite) BOOL cropPagesHidden;

    Swift

    var cropPagesHidden: Bool { get set }
  • The document view settings controller’s delegate.

    Declaration

    Objective-C

    @property (nonatomic, weak, readwrite, nullable)
        id<PTDocumentViewSettingsControllerDelegate>
            delegate;

    Swift

    weak var delegate: PTDocumentViewSettingsControllerDelegate? { get set }
  • Undocumented

    Declaration

    Objective-C

    - (instancetype)initWithPDFViewCtrl:(PTPDFViewCtrl*)pdfViewCtrl NS_DESIGNATED_INITIALIZER;

    Swift

    init(pdfViewCtrl: PTPDFViewCtrl)
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, readonly, strong) UIBarButtonItem *doneButtonItem

    Swift

    var doneButtonItem: UIBarButtonItem { get }
  • Undocumented

    Declaration

    Objective-C

    PT_INIT_UNAVAILABLE
  • Undocumented

    Declaration

    Objective-C

    PT_INIT_UNAVAILABLE