PSPDFStyleable
Objective-C
@protocol PSPDFStyleable <NSObject>
Swift
protocol Styleable : NSObjectProtocol
Implement in your UIViewController
subclass to be able to match the style of PDFViewController
.
-
Proposed bar style.
Declaration
Objective-C
@optional @property (nonatomic, assign, unsafe_unretained, readwrite) UIBarStyle barStyle;
Swift
optional var barStyle: UIBarStyle { get set }
-
Transparency flag.
Declaration
Objective-C
@optional @property (nonatomic, assign, unsafe_unretained, readwrite) BOOL isBarTranslucent;
Swift
optional var isBarTranslucent: Bool { get set }
-
A Boolean value specifying whether the view controller always wants the status bar hidden. If
true
, then the view controller’sprefersStatusBarHidden
should always returntrue
. Iffalse
, then the superclass’s implementation ofprefersStatusBarHidden
should be used, which typically results in the status bar being hidden only in vertically compact environments.Declaration
Objective-C
@optional @property (nonatomic, assign, unsafe_unretained, readwrite) BOOL forcesStatusBarHidden;
Swift
optional var forcesStatusBarHidden: Bool { get set }