PTMagnifierView


@interface PTMagnifierView : UIView

The loupe that is used during text selection.

  • The view that is being magnified.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) UIView *_Nonnull viewToMagnify;
  • The designated initializer

    Declaration

    Objective-C

    - (nonnull instancetype)initWithViewToMagnify:(nonnull UIView *)viewToMagnify;

    Parameters

    viewToMagnify

    The view that will appear magnified in the loupe.

  • Sets the point of viewToMagnify to magnify, and the location to display the loupe.

    Declaration

    Objective-C

    - (void)setMagnifyPoint:(CGPoint)magnifyPoint TouchPoint:(CGPoint)touchPoint;

    Parameters

    magnifyPoint

    The point to magnify.

    touchPoint

    The point to sit the loupe next to.