Dave G Dave G - 10 months ago 305
iOS Question

3D Touch on Xcode 8 & Simulator 10

I've read a ton of threads debating if 3D touch is available on the latest Xcode 7 versions. The consensus was that it's possible but only with a 3D phone or trackpad. My question is if with the new Xcode and Simulator, has that changed?

I'm on a 2012 MacBook running Sierra:

enter image description here

I can see some force touch options:

enter image description here

But can I somehow enable those options so I can starting testing my 3D Touch code?

Answer Source

To test 3D touch in the simulator, you would need a force-touch trackpad (i.e. a MacBook with a force-touch trackpad built in, or a Magic Trackpad 2). If you have one, those menu items come to life. If you don't have one, you can only test on a device!