Modal view controllers can be presented as popup style menus for users to interact with. There are multple kinds of popup windows developers can present when developing iPad applications, including some that disappear when tapping outside the window, and some that force some type of user interaction before closing. In this movie, see how to choose which popups to use and how to close them programmatically.
- [Voiceover] When you're developing for iPad,…you actually have access to additional ways…to present information.…On our phones, we looked at…popping something up from the bottom of the screen…or using a navigation control to have it come in…from the right of the screen.…We've also looked at creating alerts.…Well with an iPad, you can create…a modal presentation or a form presentation,…something that the user is forced to interact with…before the popup disappears.…
So let's look at how that works.…So I have this button and one view controller…that says Show Modal…and then I have a second view controller…that says Modal on it…and then I have a Done button.…Now none of these elements are hooked up to anything…so I'm in a single view application that's universal…and I've made two view controllers…with these buttons that I've shown you…and that's all I've done so far.…So let's say we want to present this other view controller.…So I can right click and drag from Show Modal…over to the second view controller right here…
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.