Quantcast
Channel: Active questions tagged haptic-feedback+iphone+ios - Stack Overflow
Viewing all articles
Browse latest Browse all 9

UISelectionFeedbackGenerator() not working on iPhone 7

$
0
0

I would like to use some haptic in my app. I am using the UISelectionFeedbackGenerator but it will not work. I am testing on real iPhone 7 with iOS 10. These two lines should do the magic – but nothing happens:

let generator = UISelectionFeedbackGenerator()
generator.selectionChanged()

Viewing all articles
Browse latest Browse all 9

Latest Images

Trending Articles



Latest Images