PSPDFNavigationController

Objective-C


@interface PSPDFNavigationController
    : UINavigationController <UINavigationControllerDelegate>

Swift

class PDFNavigationController : UINavigationController, UINavigationControllerDelegate

A navigation controller that is optimized for use with PDFViewController. We recommend using this subclass if possible.

This subclass forwards the following rotation methods to the top view controller: shouldAutorotate, supportedInterfaceOrientations, preferredInterfaceOrientationForPresentation:.

To improve legibility with the widest range of documents, this subclass changes the default bar background to use a system thick material effect for the navigation bar’s standardAppearance and compactAppearance. The scrollEdgeAppearance and compactScrollEdgeAppearance are not changed.

  • 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 }