DeskConnect / SBShortcutMenuSimulator

3D Touch shortcuts in the Simulator
MIT License
1.75k stars 164 forks source link

ForceTouchCapability return value #8

Closed loregr closed 8 years ago

loregr commented 9 years ago

if I call [[self.window.rootViewController traitCollection] forceTouchCapability] in AppDelegate, it returns UIForceTouchCapabilityUnavailable on iPhone 6s simulator. Someone with a real device, can tell me if it's normal and on a real iPhone 6s it returns UIForceTouchCapabilityAvailable instead?

Thanks

hansemannn commented 8 years ago

It's normal, since the simulator does not support it. You can use the API with this hack, but it does not set system properties.

loregr commented 8 years ago

cool...thanks @hansemannn