简体   繁体   中英

iOS photo gallery - flickr

I'm working on an app for a client and the client wants absolutely everything to be shareable (using sharekit). One of the views that the client wants is a photo gallery that can be easily updated and viewed. I've looked around at folks who have done this and I particularly like the way the Obama 2012 app does it using flickr. This brings me to the question, I'm trying to use the flickr api to display a photo gallery that will allow sharekit to share the url to the image but am hitting a brick wall. I've searched for a few days now and haven't found a tutorial that shows a working example in the way I need it, if anyone has done something similar or knows a good tutorial that would be greatly appreciated.

Download the list of images using the Flickr API, and asynchronously add them to a UIScrollView inside a UINavigationController with its back button as "back". Then add a UIToolBar which has the items 'Next' and 'Previous' (use images). That will give you the look of a photo gallery.

Also, I came across this which is basically what I told you to do, but open source: http://www.cocoacontrols.com/platforms/ios/controls/fgallery

I wrote a tutorial on building a media gallery using a UICollectionView. It populates from the user's photo library, but is definitely more extensible than using a 3rd party.

iPhone Programming Tutorial: Creating An Image Gallery Like Over – Part 1

Hope that helps. Cheers!

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM