Determine 3D touch availability for the device

Viewed 335

I want to know if the device supports 3D Touch. I don't like to use the forceTouchCapability property of the UITraitCollection, because it may return unavailable for iPhone 6s if the user has turned off 3D Touch in the settings.

I want to know if 3D Touch is available by hardware, regardless to the settings. The only possible solution which I see is to check device's model. But, may be, someone can suggest more stable and simple solution.

Background: I have added Home Screen Actions to the app, and I want to notify user about it, only if the device supports them.

1 Answers
Related