UIImpactFeedbackGenerator doesn't work on Keyboard extension

Number:rdar://FB7712801 Date Originated:24/05/2020
Status:Open Resolved:
Product:UIKit Product Version:
Classification: Reproducible:Always
Steps to reproduce:
- Create a new app 
- Add a new target "Custom Keyboard Extension"
- Instantiate a new feedback generator 
private let feedbackGenerator = UIImpactFeedbackGenerator(style: .rigid)
- Generate an impact when tapping on a button

The haptic feedback is not triggered. The same code on the app generates an haptic feedback as expected.


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!