An interaction that tells your app the user double-tapped their Apple Pencil.
- iOS 12.1+
- Mac Catalyst 13.0+
The user can interact with Apple Pencil by double-tapping it. To detect the double tap in your app, create a
UIPencil object and assign it a
delegate object. Then add the interaction to your app’s view. When the user double-taps their Pencil, the interaction calls the delegate’s