There's already excellent code for browsing and viewing pictures on the iPhone, as shown by apps like Photos and Facebook, and I don't feel like inventing the wheel again. I thought that this functionality would be built into the API, but I'm having a hard time finding it. Am I blind or do Apple really force us to write our own?
Facebook gave rise to the Three20 framework .
Everything you're looking for is in there.
您也可以尝试启用分页的UIScrollView。
或使用DMCarousel: https : //github.com/brianegan/dmcarousel
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.