PSPDFBookmarkViewController

Show list of bookmarks for the current document and allows editing/reordering of the bookmarks.

  • Whether the user can long press to copy the title. Defaults to YES.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) BOOL allowCopy;

    Swift

    var allowCopy: Bool { get set }
  • Whether the user can edit the list. Defaults to YES.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) BOOL allowEditing;

    Swift

    var allowEditing: Bool { get set }
  • Control the sort order. Reordering is only allowed for PSPDFBookmarkManagerSortOrderCustom.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) PSPDFBookmarkManagerSortOrder sortOrder;

    Swift

    var sortOrder: PSPDFBookmarkManagerSortOrder { get set }
  • An array of custom bar button items to display on the right (or trailing) side.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic)
        NSArray<UIBarButtonItem *> *_Nonnull rightActionButtonItems;

    Swift

    var rightActionButtonItems: [UIBarButtonItem] { get set }
  • An array of custom bar button items to display on the left (or leading) side.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic)
        NSArray<UIBarButtonItem *> *_Nonnull leftActionButtonItems;

    Swift

    var leftActionButtonItems: [UIBarButtonItem] { get set }
  • The bookmark view controller delegate to detect when a bookmark entry is tapped.

    Declaration

    Objective-C

    @property (readwrite, nonatomic)
        id<PSPDFBookmarkViewControllerDelegate> _Nullable delegate;

    Swift

    @IBOutlet weak var delegate: PSPDFBookmarkViewControllerDelegate? { get set }
  • Undocumented

    Declaration

    Objective-C

    - (void)updateBookmarkViewAnimated:(BOOL)animated;

    Swift

    func updateBookmarkView(animated: Bool)
  • Undocumented

    Declaration

    Objective-C

    - (void)updateBarButtonItems;

    Swift

    func updateBarButtonItems()
  • Undocumented

    Declaration

    Objective-C

    - (void)addBookmarkAction:(nullable id)sender;

    Swift

    func addBookmarkAction(_ sender: Any?)
  • Undocumented

    Declaration

    Objective-C

    - (void)doneAction:(nullable id)sender;

    Swift

    func doneAction(_ sender: Any?)