views:

1130

answers:

5

Hello,

I want to create a slideshow on iphone. I don't know if there is already a sample code or a lib that already do that.

Thanks for your help

A: 

If you just want to show different pictures one by one, you can simply use, for example, NSTimer, that will change content of your image view. It doesn't need any lib.

Morion
+1  A: 

We used the idea/code from this site, worked great:

http://lievendekeyser.net/index.php?module=messagebox&action=message&msg%5Fid=1351

Codezy
+2  A: 

Joe Hewitt who created the Facebook iPhone app open sourced the code he wrote to create the Facebook application. Most notable is his image viewer that he created. I am certain if you checkout his work you can find what you are looking for. His project lives on github.

http://joehewitt.com/post/the-three20-project/

avelis
A: 

if u want to slide UIView or UIWebview or UIImageView in Scrollview
try this code its good

http://www.naveenshan.yolasite.com/blog.php

NaveenShan
A: 

Check out the WWDC 2010 Session entitled "Designing Apps with Scroll Views."

The source code is here:

http://developer.apple.com/library/ios/#samplecode/PhotoScroller/Introduction/Intro.html

And this is a handy image-slicing tool:

http://iphonedevelopment.blogspot.com/2010/10/cutting-large-images-into-tiles-for.html

MattDiPasquale