Project: titanium
Issue TIMOB-19492: iOS9: 3D-Touch: Support new UITouch properties + events
Apple just presented the new 3D-Touch feature of the iPhone6S. There are new events available, as well as methods to check whether a device supports 3D-Touch capabilities. *New properties (available in iOS9.0)*: - {{force}}: The force of the touch, where a value of 1.0 represents the force of an average touch (predetermined by the system, not user-specific). (read-only) - {{maximumPossibleForce}}: The value of this property is sufficiently high to provide a wide dynamic range for values of the force property. - {{forceTouchCapability}}: Shows whether or not 3D-Touch (aka forceTouch) is available. Possible constants: {{UIForceTouchCapabilityUnknown}}, {{UIForceTouchCapabilityAvailable}} and {{UIForceTouchCapabilityUnavailable}} *Related documents*: - https://developer.apple.com/library/prerelease/ios/documentation/UIKit/Reference/UITouch_Class/ - https://developer.apple.com/library/prerelease/ios/documentation/UIKit/Reference/UITraitCollection_ClassReference/#//apple_ref/occ/instp/UITraitCollection/forceTouchCapability
Story points: 8