Contents

smartMagnify(with:)

Informs the receiver that the user performed a smart zoom gesture.

Declaration

func smartMagnify(with event: NSEvent)

Parameters

  • event:

    An event object representing the smart zoom gesture.

Discussion

The smart zoom gesture is a two-finger double tap on trackpads. In response to this event, you should intelligently magnify the content.

See Also

Touch and Gesture Events