Apple Pencil API?

Do we yet know the APIs to the Apple Pencil?

  • Is a pencil stroke going to be received as a series of
    touchesMoved
    or as a richer data structure (e.g., splines)?
  • If we receive
    UITouch
    objects, how is tilt determined?
Accepted Answer

Check out the prerelease documentation for UITouch in iOS 9.1, it has new methods and properties for getting stylus information: https://developer.apple.com/library/prerelease/ios/documentation/UIKit/Reference/UITouch_Class/index.html

Apple Pencil API?
 
 
Q