Chapter 15

Displaying Events Using a Page View Controller

In This Chapter

arrow Displaying HTML pages in a Web view

arrow Creating Page transitions with a UIPageViewController

arrow Understanding how Page View controllers work and implementing page turns

If the user selects Events from the Content view in the RoadTrip application, he comes face-to-face with a series of pages that update him on the latest activities happening at his destination.

In this chapter, I show you how to use a new feature in iOS 5 that allows you to create a view controller that enables a user to “turn event pages” in the same way as he or she can in an iBook.

You also find out how to use a Web view again to display data, but this time you download an HTML page stored on my website, rather than download a website itself.

The best part of what you discover in this chapter is page-turn transitions. These transitions are implemented by the UIPageViewController class — a new container view controller for creating page-turn transitions between view controllers first implemented in iOS 5. Just as a Navigation controller animates the transitions between, say, the Content controller and the Weather controller, the Page View controller ...

Get iPhone® Application Development For Dummies®, 4th Edition 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.