Join Kevin Favro for an in-depth discussion in this video Creating custom restrictions, part of iOS App Development: Accessibility.
- [Instructor] In this video,…we're going to take a look at how we,…as developers,…can create custom restrictions…that our users can set…while running our app within a guided access session.…We'll need to start in our AppDelegate…by adopting the UIGuidedAccessRestrictionDelegate…on line 12.…Next, let's open up a new line on line 11…and let's add a simple struct…that will allow us to easily refer…to our custom restriction.…We'll call our struct a GuidedAccessRestrictions.…
And for now it'll have one member.…It'll be a static constant…that we'll call FavoriteRestriction…and we'll set that to a string.…We'll use reverse DNS notation…to ensure it's unique throughout the entire system.…In order to create custom restrictions…we'll need to implement three methods…and populate one variable property.…Go ahead and scroll to the very bottom…and open up a new line on line 47.…The property we need to override…is the guidedAccessRestrictionIdentifiers property.…
We'll pass it an array of our custom restrictions.…For now,…we just have the one favorite restriction.…
In this course, explore the different accessibility technologies that are built into iOS, and learn how to build apps that all users can access. Follow Kevin Favro as he explains how to audit your app for accessibility problems, and explores various iOS technologies—including VoiceOver, a screen reader that lets you use phone even if you don't see the screen—and other considerations that might prevent someone from effectively using your app.
- Reviewing the accessibility features in iOS
- Exploring accessibility settings
- Working with VoiceOver
- Exploring Switch Control
- Using the Accessibility Inspector
- Using VoiceOver to audit your app
- Reviewing Dynamic Type
- Reducing transparency
- Reducing motion
- Setting bold fonts and darker colors
- Understanding how elements are opted into the accessibility system
- Making custom objects accessible
- Working with the VoiceOver rotor
- Working with Guided Access
Skill Level Intermediate
Core Data for iOS and macOS Enterprise Developerswith Jon Bott1h 46m Intermediate
iOS App Development: Test-Driven Developmentwith Harrison Ferrone2h 14m Intermediate
1. Accessibility Overview
2. Accessibility Audit
3. Improving Our App: Visual Accommodations
4. Improving Our App: Semantic Accessibility
5. Improving Our App: Accessibility Customizations
6. Improving Our App: Guided Access
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.