iosiphone3dtouch

In iOS, how can I distinguish a Haptic Touch from a long press?


Apple's recent iPhone XR announcement replaces 3D Touch with Haptic Touch, letting you access 3D Touch features by just long-pressing a view.

I'm curious how that will interact with existing UILongPressGestureRecognizer interfaces. There are items in my app that currently have different 3D Touch and long-press functionality.

Since the iPhone XR hardware isn't yet available, I was wondering if anything had been published about how the two features will work together.


Solution

  • Based on testing in the simulator using the Hardware | Touch Pressure | Use Trackpad Force option, Haptic Touch is just a long press.