FeedbackEffect
FeedbackEffect copied to clipboard
Impacts are all the same!
Hi!
You are declaring: let lightImpactGenerator = UIImpactFeedbackGenerator() let heavyImpactGenerator = UIImpactFeedbackGenerator()
Where, it seems to me, you need to be declaring: let lightImpactGenerator = UIImpactFeedbackGenerator.init(style: .light) let heavyImpactGenerator = UIImpactFeedbackGenerator.init(style: .heavy)
Also, you're going to need to code for the fact that .rigid and .soft styles are only available in ios13+.
Hey @filipesaz, I took a quick look and it seems that you're right! I haven't worked on FeedbackEffect in a while, but if you're willing to file a pull request I'd gladly code review and merge it in to make the appropriate changes. Does that sound like something you'd be interested din doing?