UITouchType for iOS9.1

138 Views Asked by At

iOS introduced UITouchType in iOS9 which provides the UITouchTypeStylus constant. Will this constant only work for 3D touch device like iPad Pro or is it available on any iOS device?

2

There are 2 best solutions below

2
On BEST ANSWER

The touchtype stylus will only be "fired" when you are using it on a supported device. Here are some links which will help you further 1, 2, 3...

0
On

At this moment, only iPad pro supports Apple pencil which is UITouchTypeStylus in code.