Reputation: 4931
Is there any way to decide which element gets focus first? I tried use the second parameter in the following method
UIAccessibilityPostNotification(
UIAccessibilityLayoutChangedNotification,
element
)
but with no success.
Upvotes: 4
Views: 1740
Reputation: 5671
Using the UIAccessibilityPostNotification
method is the proper way to get your purpose.
There are several types of change notifications but the two most commonly used are :
Your problem may be the element
type you specify in your line of code apparently because it seems perfectly correct.
Upvotes: 1