PTPanTool

@interface PTPanTool : PTTool

A non-annotating tool that is used to navigate the document. When the user taps or long presses on the document, the pan tool will check the content of the document for annotaitons and text, and if found, pass the event to the appropriate tool. When long pressing an emtpy section of the document, the PTPanTool gives the option to switch to a selection of annotation creation tools.

  • Shows the UIMenuController after a tap (in addition to after a long press). Default is false.

    Declaration

    Objective-C

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

    Swift

    var showMenuOnTap: Bool { get set }
  • When true, and showMenuOnTap is true, the next tap event will show the UIMenuController.

    Declaration

    Objective-C

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

    Swift

    var showMenuNextTap: Bool { get set }