Image in ScrollView with PageControl
Hi I'm trying to develop an app with ScrollView and PageControl.
I would like i to recieve one pictu开发者_如何学编程re for each page, how can I make it possible?
In case you haven't found the answer yet, or anybody stumbles on this like I did, there's a perfect example here.
Try out this framework : https://github.com/AdrianFlorian/AFImageViewer to present images in a scroll view using a page controll to indicate the current page.
I have't added documentation yet, but you can see examples if you clone the project.
You can easily: - download images from the internet in a separate thread by only giving an array of urls (image urls) - give it an array of UIImage objects - implement a delegate and manage the image for each page yourself
精彩评论