Chapter 5
Controller Navigation
Over the course of the last three chapters, you have been introduced to the building blocks that you can use to create a simple, single-screen application. This chapter takes the next logical step and looks at how to create multi-screen applications. In UIKit, each screen is built around a view controller, and similarly in WatchKit, each screen is mapped to an interface controller. UIKit offers you several ways to combine view controllers—for example, you can use a UITabBarController to create a tabbed user interface, a UINavigationController to build a hierarchical application, or a UIPageViewController if your application has pages of similar information that you want to be able to swipe through. You are ...
Get Learn WatchKit for iOS now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.