Font sizes can be changed with size classes. This video shows how to change the font sizes so that larger areas can accommodate larger fonts.
- [Instructor] In addition to setting which objects…can show or not show in size classes,…you can also tune fonts and font sizes.…So let's look at how that might work.…I'm going to show the utility area…and filter for a label in the object library…click and drag it to the top left corner of my screen.…I'll drag the bottom right handle out a little bit…to give the labels some space.…And let's say in a layout that has a compact height,…I don't want the label to be as big,…so I'm going to take this font right here,…I'm going to bump it up quite a bit.…
Let's go up to, let's say, 72.…Gigantic label.…And let's say when I'm in a compact height, I want to…shrink the font back down to its standard size.…So instead of using that vary for size button…like we did previously, I'm going to use this plus button…here right by font.…So if you look in the attribute inspector, you're going…to see all of these plus buttons.…And that's what they're for, these actually all apply…to size classes.…So if you want to vary something, for a size class,…
Instructor Todd Perkins shows how to use pickers, pop-up messages, sliders, switches, and indicators to build a sophisticated app interface, and display HTML content, files, and data with web views. Plus, learn how to dynamically update your layouts using size classes, and get a brief overview of the Apple Human Interface Guidelines.
- Picker views, controllers, sliders, and indicators
- Creating UI elements with code
- Displaying images with image views
- Creating web views to display web content
- Changing fonts, pins, and views with size classes