If I had an iPhone 7 I could test this, but you're correct in stating that haptics need to fire nearly instantaneously for them to be perceived correctly by a user. I know mechanically there is a small time to ramp to full movement, but would expect it to be nominal.
Eric On Sun, Oct 2, 2016 at 10:07 PM Archagon <[email protected]> wrote: > 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/edolecki%40gmail.com > > This email sent to [email protected] _______________________________________________ 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]
