Custom Apple Pencil Pro Haptics

Just got my hands on the Apple Pencil Pro, and was looking forward to being able to add tactile feedback to my apps through the Pencil.

Apple appears to have updated their docs to make mention of the possibility of haptic feedback via the pencil and makes vague references to a certain SwiftUI modifier, but doesn't give any pencil-specific guidelines, code or speak about its capabilities at all. I'd like to ask if its possible to use CoreHaptic to queue custom haptic feedback (as of now the standard code which works on iPhone doesn't seem to work on an iPad with a paired Pencil Pro), or if that's not possible if there are any updated resources/example code for triggering predefined Pencil Pro haptics.

Answered by DTS Engineer in 788492022

This is not currently possible. If you'd like to send us your specific use cases, we'd be interested in knowing how you wanted to use haptics in the future. You can send this information through our reporting tool here: https://developer.apple.com/bug-reporting/

This is not currently possible. If you'd like to send us your specific use cases, we'd be interested in knowing how you wanted to use haptics in the future. You can send this information through our reporting tool here: https://developer.apple.com/bug-reporting/

Hi, thanks for replying. May I know then if its possible to programmatically invoke predefined haptic sequences?

Custom Apple Pencil Pro Haptics
 
 
Q