Scrolling

Last Revision:
Version 1.1, 2010-06-23
Upgraded project to build with the iOS 4.0 SDK.
(Full Revision History)
Build Requirements:
iOS 4.0 SDK
Runtime Requirements:
iPhone OS 3.2 or later

Demonstrates how to implement two different style UIScrollViews. The first scroller contains multiple images, showing how to layout large content with multiple chunks of data (in our case 5 separate UIImageViews).

The second scroller simply displays one image, matching its contentSize to the image size. The app's primary UIViewController manages both scrollers. Refer to this sample for best practices in how to implement content with a single image or with multiple images.