PSPDFScrubberBarDelegate

Objective-C

@protocol PSPDFScrubberBarDelegate <NSObject>

Swift

protocol ScrubberBarDelegate : NSObjectProtocol

Implement this delegate to get notified of scrubber bar events.

  • Will be called when a page has been selected using the scrubber bar.

    Declaration

    Objective-C

    - (void)scrubberBar:(nonnull PSPDFScrubberBar *)scrubberBar
        didSelectPageAtIndex:(PSPDFPageIndex)pageIndex;

    Swift

    func scrubberBar(_ scrubberBar: ScrubberBar, didSelectPageAt pageIndex: PageIndex)