PSPDFNavigationController
Objective-C
@interface PSPDFNavigationController
: UINavigationController <UINavigationControllerDelegate>
Swift
class PDFNavigationController : UINavigationController, UINavigationControllerDelegate
Simple subclass that forwards following iOS 6+ rotation methods to the top view controller:
shouldAutorotate
, supportedInterfaceOrientations
, preferredInterfaceOrientationForPresentation:
.
-
Unavailable
Not available.
Undocumented
Declaration
Objective-C
- (void)setDelegate:(nullable id<UINavigationControllerDelegate>)delegate PSPDF_UNAVAILABLE("Not available.");
-
Forward the modern rotation method to the visible view controller. Defaults to YES.
Declaration
Objective-C
@property (nonatomic, assign, unsafe_unretained, readwrite, getter=isRotationForwardingEnabled) BOOL rotationForwardingEnabled;
Swift
var isRotationForwardingEnabled: Bool { get set }