I was trying to play some audio along with a UIImpactFeedbackGenerator action, and I noticed that the haptic feedback was delayed by about 0.1 seconds after each tap — even when prepare() was correctly called beforehand. Digging further, I discovered that even in the simplest possible test case — just a button with a touchUpInside action triggering haptics, along with a UISwitch for comparison underneath — the button's haptics were delayed as before, while the switch's native haptics were instantaneous. How can I get rid of this latency in my custom controls? Surely, haptics are only effective when they there's no perceived delay!
Here's the test case project: https://github.com/archagon/uifeedbackgenerator-lag-test Thank you, -Alexei Baboulevitch _______________________________________________ Cocoa-dev mailing list ([email protected]) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
