VoiceOver

VoiceOver is an accessibility feature that helps users with visual impairments navigate an application’s interface. Apple provides hooks into the system that allow you to describe aspects of your interface to the user. Most UIKit views and controls automatically provide information to the user, but it is often beneficial to provide additional information that cannot be inferred. Additionally, you always need to provide the information yourself for custom views or controls you create.

These hints to the user are largely provided through the UIAccessibility protocol. UIAccessibility is an informal protocol that is implemented on all the standard UIKit views and controls. An informal protocol is a looser contract than ...

Get iOS Programming: The Big Nerd Ranch Guide, 7th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.