Ios 在iPhone 6s上获取屏幕特定部分的力
在iPhone6S的iOS9上,有可能对屏幕的一部分施加力吗Ios 在iPhone 6s上获取屏幕特定部分的力,ios,swift,3dtouch,Ios,Swift,3dtouch,在iPhone6S的iOS9上,有可能对屏幕的一部分施加力吗 可以访问UITouch实例的force属性。还有其他方法吗?查看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 mechan
可以访问
UITouch
实例的force
属性。还有其他方法吗?查看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 }
我想要的是屏幕的力量,而不是触摸。屏幕的力量是什么<代码>力将返回0到6.66之间的值(例如),测量
UITouch的“力”
是的,我知道。但我希望能够在不接触屏幕的情况下测量力。例如,用作标尺。