iPhone Image slideshow [closed]

这一生的挚爱 提交于 2019-11-26 20:04:00

问题


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


回答1:


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.

https://github.com/facebook/three20/

Reference to his work from his website:

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




回答2:


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




回答3:


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.



来源:https://stackoverflow.com/questions/1631170/iphone-image-slideshow

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!