PSPDFNavigationController


@interface PSPDFNavigationController
    : UINavigationController <UINavigationControllerDelegate>

Simple subclass that forwards following iOS 6+ rotation methods to the top view controller: shouldAutorotate, supportedInterfaceOrientations, preferredInterfaceOrientationForPresentation:.

  • Unavailable

    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 (getter=isRotationForwardingEnabled, assign, readwrite, nonatomic)
        BOOL rotationForwardingEnabled;

    Swift

    var isRotationForwardingEnabled: Bool { get set }