PSPDFPageGrabberView

@protocol PSPDFPageGrabberView <NSObject>

The page grabber view protocol can be implemented by UIView subclasses. It enables an instance of PSPDFPageGrabber to communicate state changes to the view that implements this protocol, if the view is used as the page grabber’s grabberView.

  • If implemented, this method is called to let you know when the grabber view is touched.

    Declaration

    Objective-C

    - (void)setCollapsed:(BOOL)collapsed animated:(BOOL)animated;

    Parameters

    collapsed

    YES if the user is touching the grabber. NO when the user is currently not touching the grabber.

    animated

    YES if the state change should be animated, NO otherwise.