Image Views are made for displaying images in the iOS SDK. Image Views can be created in Interface Builder. This movie shows how to create Image Views for your apps, and demonstrates the different ways in which an Image View can display an image, including different types of scaling and cropping that are available.
- View Offline
- Exercise Files
- Using an Image View, you can place, you guessed it,…images on your screens.…Let's drop an Image View onto this storyboard here.…So, I'm going to search for Image View,…and then, I'll just click to drag and drop one…onto the screen.…And I'll stretch it out a little bit…and make it follow the guides.…And there's our Image View.…We don't see an image in it yet,…but we can grab one from Finder.…And on my Desktop, in the Exercises Files folder,…I have a graphic file in my assets folder.…
Now, if you don't have access to the Exercise Files,…you could just grab any image off your machine.…So, it can be a jpeg, it can be png,…or just about any other image format.…So, take your graphic file and then,…you wanna go to Assets.xcassets.…And then, from Finder, you can just click and drag…that file right here, under where it says Appicon.…And there is your image there.…Now, with the image highlighted, you'll notice that…it has an image next to 1x.…
Now, if you wanted to support retina displays…or you had a higher resolution of this image,…
Interested in developing for Apple Watch or Apple TV? Get a sneak peek in Chapter 9. The course wraps up with a look at the submission process for the App Store.
- Installing Xcode and the iOS SDK
- Creating a simple iOS app
- Creating a basic interaction with a button
- Choosing an object as a first responder
- Creating a user interface with Interface Builder and Auto Layout
- Working with sliders and progress bars
- Creating views to show images and web pages
- Developing responsive layouts with size classes
- Understanding the iOS architecture
- Loading data in table views
- Transitioning between views
- Developing for the iPad, Apple Watch, and Apple TV
- Submitting apps to the App Store
Skill Level Beginner
1. Prepare to Develop an iOS App
2. Core Skills
3. Basic iOS UI
4. More UI Objects
5. Size Classes
6. iOS Application Architecture
7. Table Views
8. Multiple-View Applications
9. iPad, Watch, and Apple TV Development
10. Finish and Submit to the App Store
Next steps2m 10s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
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.