• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
UIFeedbackGenerator: 0.1 second latency vs. built-in system haptics?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

UIFeedbackGenerator: 0.1 second latency vs. built-in system haptics?


  • Subject: UIFeedbackGenerator: 0.1 second latency vs. built-in system haptics?
  • From: Archagon <email@hidden>
  • Date: Sun, 02 Oct 2016 19:06:00 -0700

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@hidden)

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:

This email sent to email@hidden


  • Follow-Ups:
    • Re: UIFeedbackGenerator: 0.1 second latency vs. built-in system haptics?
      • From: "Eric E. Dolecki" <email@hidden>
  • Prev by Date: Re: Multipeer between macOS Sierra and iOS 10
  • Next by Date: Re: UIFeedbackGenerator: 0.1 second latency vs. built-in system haptics?
  • Previous by thread: Re: Multipeer between macOS Sierra and iOS 10
  • Next by thread: Re: UIFeedbackGenerator: 0.1 second latency vs. built-in system haptics?
  • Index(es):
    • Date
    • Thread