Contents

UITextLoupeSession

An object that manages the presentation of the system magnifier at the location you specify.

Declaration

@MainActor class UITextLoupeSession

Mentioned in

Overview

A UITextLoupeSession object programmatically displays the system loupe in your view. You might display this view to allow someone to magnify your view’s content. Typically, you display the loupe from a UIPanGestureRecognizer when someone interacts with your view. As the location in the gesture recognizer changes, use the loupe session object to update the position of the loupe.

Topics

Creating the loupe session

Updating the loupe during the session

See Also

Custom text selection