I have the latest iPad PRO model.
Yet, if I try to generate haptic feedback, I feel nothing.
feedbackGenerator = [ [ UIImpactFeedbackGenerator alloc ] initWithStyle:UIImpactFeedbackStyleHeavy ];
[ feedbackGenerator prepare ];
And I trigger it with:
[ feedbackGenerator impactOccurred ];
In the debugger I see that feedbackGenerator.activationCount is always zero.
Does the latest model iPad PRO support haptic feedback?
UPDATE: It does not.
Strangely enough, it doesn't work on my iPhone 6S either.
And wikipedia has that device as listed having '3D Touch' and 'Taptic.'
Sigh... what am I doing wrong?
It's a documentation bug.
It turns out that there are two "Support levels" for haptic.
Level 1 and Level 2.
The docs do not mention this.
UIDevice* device = [ UIDevice currentDevice ];
NSNumber* nr = [ device valueForKey:@"_feedbackSupportLevel" ];
NSLog( @"feedback Support level %@", nr );