iOS: Building a slideshow with fullscreen images

2020-07-27 04:34发布

I want to build a slideshow in which you slide images (displayed in fullscreen modality). I was planning to use UIViews and add gesture recognizers.. but I was wondering if there is something already done I can reuse, or any tip.

I would like to have the same effect you have when you slide through open apps on the iPad (you can slide them, and you can slide and you still see part of the first view when the second view comes in. (and in case you are moving back your finger, the first view comes back.

thanks

标签: ios ipad
2条回答
家丑人穷心不美
2楼-- · 2020-07-27 05:11

You can use the Three20 photo viewer. You can look at this tutorial for help on using it.

There is also a WWDC video from last year which gives you an idea on how this can be implemented.

There are other tools that you can look into. Cocoa Controls has a fairly exhaustive list of tools that you can use for your projects.

查看更多
孤傲高冷的网名
3楼-- · 2020-07-27 05:12

At the most basic level, a UIScrollView with paging enabled will work fine for swiping to get to the next image. You'll probably need to be more specific than that.

查看更多
登录 后发表回答