How do you implement glass-removed image stacks, such as the Photos app, using the iPhone SDK?

I would like to take a stack of images (or perhaps an array of URLs for downloading images) and display them in full screen one at a time, using custom scrolls to smoothly animate the next image on the stack using the iPhone SDK. Apple Photo.app seems to be doing this. In addition, if the image has not yet been received, I would like to display a progress indicator.

Can you give me some sample code and explain how this method will be implemented?

+7
objective-c iphone
source share
1 answer

You need to use the UIScrollview page control mechanism. Apple has many code examples, including one called, oddly enough, page control:

http://developer.apple.com/iphone/library/samplecode/PageControl/index.html

If you need any behavior that goes beyond this, you will have to manually flip it.

+8
source share

All Articles