Image views display images. See how to import images into your apps, how to display them, and how to choose their scale.
- [Instructor] Getting an image into your project…is a simple process but there are a lot of things…to consider when adding them.…So let's look at how you can bring Image Views…into your application.…So the first thing you're going to need is an image…and you don't have to worry that iOS won't support…your image format because iOS pretty much supports…every image format.…So if it's a JPEG or a PNG, than you're good to go.…So I'll head over to Assets.xcassets in the Navigator,…and that's going to take me to my visual assets,…and in here there's this empty square…that is AppIcon.…
If you select that you're going to see…all these empty squares in here.…We'll look at setting AppIcon's in another course…but know that this is where you do it.…We're going to click away and what I'm going to do…is tab over to Finder and than I'm going to find…my asses folder, and in there…I have a file called screenshot.png,…and if you could preview this by clicking it…and it's just a screenshot from the simulator,…and you can take a screenshot from the simulator…
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