16 Adaptive Interfaces
It is important to build interfaces that adapt to users’ preferences as well as to the context they are presented in. In the interfaces you have built so far, you have used Auto Layout and the safe area to allow them to adapt to various screen sizes and device types, and you have supported Dynamic Type in order to respect a user’s preferred text size.
In this chapter, you will learn about two new ways to adapt your interfaces. First, you will use size classes to modify how the LootLogger interface appears when presented on a screen with a relatively small height. Then, you will learn how to effectively support Dark Mode in your applications to respect your user’s visual preference.
Let’s get started by looking ...
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.