Reputation: 1453
Is it possible to not show a context menu when the user performs a force touch. And instead show a custom interface controller modally.
Or is it even possible to programmatically detect a force touch.
Upvotes: 4
Views: 1289
Reputation: 5121
There is no way to detect a force touch. You can only show a menu on the force touch.
From an Apple dev evangelist on https://devforums.apple.com/thread/254831?start=0&tstart=0
There is no API to directly respond to a Force Touch. Performing a Force Touch within a WatchKit app will display the menu (if there is one) for the visible WKInterfaceController.
Upvotes: 6