PSPDFSmartZoomContext

Objective-C


@interface PSPDFSmartZoomContext : NSObject

Swift

class SmartZoomContext : NSObject

An object used as an activation context in PSPDFSmartZoomInteraction that provides information about a scroll view being zoomed and a target zoom rectangle.

  • Unavailable

    Not the designated initializer

    Undocumented

    Declaration

    Objective-C

    PSPDF_EMPTY_INIT_UNAVAILABLE
  • Unavailable

    Not the designated initializer

    Undocumented

    Declaration

    Objective-C

    PSPDF_EMPTY_INIT_UNAVAILABLE
  • Target zoom rectangle in the coordinate space of scrollView. In case of zoom out, this property will be CGRectNull.

    Declaration

    Objective-C

    @property (nonatomic, readonly) CGRect targetRect;

    Swift

    var targetRect: CGRect { get }
  • Scroll view which is being zoomed in or out.

    Declaration

    Objective-C

    @property (nonatomic, readonly) UIScrollView *_Nonnull scrollView;

    Swift

    var scrollView: UIScrollView { get }