On Mon, Oct 3, 2016 at 12:22 AM Chris Fleizach <
email@hidden> wrote:
This is an issue. It’s possible if you pass an element (maybe even the same element) as the argument to this notification, that it will cause VoiceOver to update its cache faster
Which element can I pass as not to impact the user's focus switch?
Reminding, my adjustable element is losing focus:
[ foo ]
[ adjustable element —> accessibilityElementDidLoseFocus() ]
[ bar ]
[ dynamic element ]
I'd pass the element that the user is about to switch to, but I don't know it within accessibilityElementDidLoseFocus().
Should I subclass both previous and next neighboring views (foo and bar) and override:
override func accessibilityElementDidBecomeFocused() {
UIAccessibilityPostNotification(
UIAccessibilityLayoutChangedNotification, self)
}
?