• 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
Re: Post notification and delay
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Post notification and delay


  • Subject: Re: Post notification and delay
  • From: Chris Fleizach <email@hidden>
  • Date: Tue, 23 Jul 2013 09:53:23 -0700

I think this is usually the best way to accomplish this kind of operation. You want to bake in the animation transition time + <some delta> for VoiceOver to catch up


On Jul 23, 2013, at 8:50 AM, "Drake, Ted" <email@hidden> wrote:

I need to get some advice for a developer. He's having trouble getting UI Post notification working correctly. I'm pasting his question below. Is using dispatch_after block required to get the timing correct?

----
 In many situations after a VO-modal screen/view disappears, I want to force the VO focus to be back on the originating control, rather than the default top-left-most control.  For example: activating a button produces a popover to select a setting.  Once that setting is selected the VO focus should go back to the original button.

The only solution I've found to reliably do this is to call UIAccessibilityPostNotification(UIAccessibilityLayoutChangedNotification, <#originating control#>), but I typically have to wrap it in a delay, such as a dispatch_after block.  Otherwise the my UIAccessibilityPostNotification is interrupted for the OS to select it's own default VO focus.

I'm wondering if these delays are the best way to accomplish this, or if there is something else (something more deterministic) I should be doing?
-----

Thank you

Ted Drake
Intuit Accessibility
Do not post admin requests to the list. They will be ignored. Accessibility-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Post notification and delay (From: "Drake, Ted" <email@hidden>)

  • Prev by Date: Post notification and delay
  • Next by Date: Re: Post notification and delay
  • Previous by thread: Post notification and delay
  • Next by thread: Re: Post notification and delay
  • Index(es):
    • Date
    • Thread