Contents

NSEvent.EventType.smartMagnify

The user performed a smart-zoom gesture.

Declaration

case smartMagnify

Discussion

NSEvent.EventType.smartMagnify represents the smart zoom gesture (that is, a two-finger double tap on trackpads), along with a corresponding NSResponder method. In response to this event, you should magnify the content appropriately for your app. For example, you might zoom in on a specific paragraph or image.

See Also

Getting Touch-Based Events