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.

Containers

Containers - iOS Tutorial

From the course: iOS App Development: Accessibility

Start my 1-month free trial

Containers

- [Narrator] Earlier I showed you how VoiceOver was skipping over our elevation views. Let's see that again. - [iPhone] A suspension bridge which links the-- View on Wikipedia. Maco. View on Wikipedia. Button. - [Narrator] In layout sub views, open up a new line, on line 30. We'll call out to a new method, which we'll implement in a moment, called configure accessibility. If our code falls past this guard statement on line 35, and into the animation block on line 37, we'll want to run configure accessibility again. We'll a completion block to our last animation, on line 44. We'll start with an open bracket, open param, type the word bool, and then type the word in and press enter, and we'll type a closing bracket. Open up a new line on line 45, and call out to configure accessibility again. This will give VoiceOver a chance to recalculate frames, which will make more sense in a moment. I'll copy that name, and scroll to the bottom, and open up a new line on line 50. Let's implement…

Contents