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 at size classes.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.12.163.175