Join Kevin Favro for an in-depth discussion in this video Dynamic Type, part 2: Custom fonts, part of iOS App Development: Accessibility.
- [Instructor] In our last video, we added support…for dynamic text to most of the labels in our app.…However, these elevation view labels are not…responding dynamically to changes made by the user.…That's because we're using a custom font with a fixed…font size for these elevation views.…And if we head on in to X code, we have two classes,…elevation height view and elevation length view.…Let's start in ElevationLengthView.swift.…
On line 22, you can see that our draw rect method…is responsible for drawing all the elements of this view.…And if we head down to line 60,…we can see that we're using a custom font calynda,…with a fixed font size of 15.…Instead of using that fixed font size,…we want to change this to use a font style that iOS…will give us.…To get the point size of a font style,…we just have to ask UI font for it.…
For these elevation views, we'll use the caption1 style…and we'll ask for it's point size.…And now instead of hard coding 15,…we'll use our new variable.…Let's do the same thing elevation height view.…
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?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
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.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.