Is it possible to get the force applied to a part of the screen on iOS 9 on the iPhone 6s?
It's possible to access the force
attribute of a UITouch
instance. Is there some other way?
Is it possible to get the force applied to a part of the screen on iOS 9 on the iPhone 6s?
It's possible to access the force
attribute of a UITouch
instance. Is there some other way?
Look in UITouch
// Force of the touch, where 1.0 represents the force of an average touch
@available(iOS 9.0, *)
public var force: CGFloat { get }
// Maximum possible force with this input mechanism
@available(iOS 9.0, *)
public var maximumPossibleForce: CGFloat { get }