PTPageIndicatorViewController

@interface PTPageIndicatorViewController : UIViewController <PTOverridable>

The PTPageIndicatorViewController displays the current page number in a document.

  • Initializes a new PTPageIndicatorViewController instance.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithPDFViewCtrl:
        (nonnull PTPDFViewCtrl *)pdfViewCtrl;

    Swift

    init(pdfViewCtrl: PTPDFViewCtrl)

    Parameters

    pdfViewCtrl

    the PTPDFViewCtrl instance that the control will coordinate with

  • The view that provides the background appearance. The default background view blurs the content behind the page indicator. Setting a value of nil resets this property to the default background view.

    Declaration

    Objective-C

    @property (nonatomic, strong, readwrite, null_resettable) UIView *backgroundView;

    Swift

    var backgroundView: UIView! { get set }
  • Presents a UIAlertController to allow the user to jump to a page.

    Declaration

    Objective-C

    - (void)presentGoToPageController;

    Swift

    func presentGoToPageController()