From the course: iOS App Development: Accessibility

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Notifications

Notifications - iOS Tutorial

From the course: iOS App Development: Accessibility

Start my 1-month free trial

Notifications

- [Narrator] In the last chapter when we were working with visual accommodations we relied on special notifications posted by uKit that we could observe and act upon in order to update our interface. We observe notifications for when a user change the dynamic type settings or change their preference for reduced motion while the app is running. Along with listening for notifications, we can also post our own accessibility notifications which voiceover will act upon. In a previous video, we implemented the special magic tap gesture where our user could two finger double-tap on a detail screen to toggle the favorites status of a bridge. Let's see that again. With the voiceover cursor focused on an element in our view controller, I'll take two fingers and double tap. Watch the favorite button to see how it reacts to this magic tap. Awesome, it's correctly toggling its state whenever I perform a magic tap. It'd be great if we could provide some feedback for the user to let them know the…

Contents