PSPDFStyleable

@protocol PSPDFStyleable <NSObject>

Implement in your UIViewController subclass to be able to match the style of PSPDFViewController.

  • Proposed bar style.

    Declaration

    Objective-C

    @optional
    @property (assign, readwrite, nonatomic) UIBarStyle barStyle;

    Swift

    optional var barStyle: UIBarStyle { get set }
  • Transparency flag.

    Declaration

    Objective-C

    @optional
    @property (assign, readwrite, nonatomic) BOOL isBarTranslucent;

    Swift

    optional var isBarTranslucent: Bool { get set }
  • A Boolean value specifying whether the view controller always wants the status bar hidden. If YES, then the view controller’s prefersStatusBarHidden should always return YES. If NO, then the superclass’s implementation of prefersStatusBarHidden should be used, which typically results in the status bar being hidden only in vertically compact environments.

    Declaration

    Objective-C

    @optional
    @property (assign, readwrite, nonatomic) BOOL forcesStatusBarHidden;

    Swift

    optional var forcesStatusBarHidden: Bool { get set }