Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iOS 3D Touch programmatically

Tags:

ios

iphone

3D Touch is introduced in iPhone 6s/iPhone 6s plus,and I am wondering if we could have access to 3D Touch related API and do it programmatically in our app.Does anyone has some ideas?

like image 315
tounaobun Avatar asked Sep 10 '15 01:09

tounaobun


1 Answers

You will have access to 3D touch functionality in apps. There will be a new property, force, in the UITouch class that will hold the strength that a tap event has. 1.0 is defined to be an "average touch".

Source: https://developer.apple.com/ios/3d-touch/

like image 109
ddsnowboard Avatar answered Sep 20 '22 18:09

ddsnowboard