I don't need to take pictures or access the iPhone photo album. I simply need to display a bunch of pictures in thumbnail form and then let the user view the larger version when tapped.
Would I use an uiimagepickercontroller or another controller?
If so does anyone have an example of how I load in the pictures to view?
You can use the same tools that the facebook app uses: three20
Joe Hewitt, the developer behind the facebook app has open sourced much of his work. You can get it and many other goodies here: http://github.com/joehewitt/three20
Related
I am making an app in which on one of the view I want to display photo gallery photos thumbnails. If I click on any image then It must get zoom, there is also accept and delete functionality on zoom view. If user want to delete the photo then It must get delete from the photo gallery. I have tried a lot to implement this functionality but unable to get the required output.
How should I integrate the default photo gallery with my app? Following are the images which make you more clear about the functionality I want to implement. How can I start to make this functionality?
hi there is a good framework which is capable of this
three20
If you want other similar things goto cocoacontrols
Use KTPhotoBrowser
https://github.com/kirbyt/KTPhotoBrowser
I'm using three20 for my dashboard.
(ttlauncher)
Now when I select a icon to open a screen
How do I make the screen open like Facebook? (small to big)
And close to return to the dashboard like Facebook? (big to small)
Do I need to modify the ui screens to use three20 aswell? Or the effect is standard iOS effects?
These are custom animations developed by the team who worked on the App.
If you download the Facebook iOS SDK you should be able to have a glimpse at how it's done by looking through the source code and using it as a reference.
https://github.com/facebook/facebook-ios-sdk
Of particular interest to you is the FBDialog class (which is a UIView subclass).
am new to iPhone and i have been given a task to show all the images from the gallery of the iPhone to the current view so that the user can select an image and view it and here's the second part of my problem i am having a share button and its functionality is that the selected image by the user on the touch of the share button must be shared on facebook.
Please help me regarding this,
To select image from photo library use UIImagePickerController, here's an example:
http://www.zimbio.com/iPhone/articles/1109/Picking+Images+iPhone+SDK+UIImagePickerController
To integrate facebook in your app, you'll use facebook ios sdk:
http://github.com/facebook/facebook-ios-sdk
Edit 1:
Ok, here's the link for uiimagepickercontrollerdelegate whose method you'll use to get the image, it's really not that hard:
http://developer.apple.com/library/ios/#documentation/uikit/reference/UIImagePickerControllerDelegate_Protocol/UIImagePickerControllerDelegate/UIImagePickerControllerDelegate.html%23//apple_ref/doc/uid/TP40007069
Here's the demo for facebook connect:
link text
I need to open photo library from my iPhone app just like standard iPhone Camera application does. Is it possible?
I don't want picking-style interface of UIImagePickerController - it has unnecessary controls like "Use" and "Cancel" buttons and does not have full photo library viewing functionality - zooming and sliding between photos etc. My goal is to navigate user to the photo library for viewing photos (with full functionality of viewing photos) and - when user has finished - return to my app - just like standard Camera application does when you preview last-taken photos.
I believe the "Three20"-framework has such a photo library.
http://github.com/facebook/three20
http://github.com/facebook/three20/blob/master/src/Three20UI/Headers/TTPhotoViewController.h
http://icodeblog.com/2009/07/28/getting-images-from-the-iphone-photo-library-or-camera-using-uiimagepickercontroller/
seem like that it is possible to open only 1 photo using UIImagePickerController, can not open multiple photos.
I have to use UIScrollView as image viewer like Photo app. The UIScrollView is supposed to show photos with swiping, zooming and rotating with interface rotation.i have to load minimum 20 images.is it possible? which is the best way? plz post some sample codes.
I've written a simple and easy to use photo browser called MWPhotoBrowser which you should be able to look at and dissect.
It is an implementation of a photo viewer that I wrote allowing the user to view one or more images in a similar way to the native Photos app. It can display one or more images by providing either UIImage objects, file paths to images on the device, or URLs images online. Photos can also be zoomed, panned, and navigated with previous/next buttons.
View MWPhotoBrowser on GitHub
Hope this helps!
Refer to the sample application page control here https://developer.apple.com/iphone/library/samplecode/PageControl/ , it should help you get started, they have a scroll view that you can use to scroll through a bunch of pages, you can modify this to do pictures. It doesnt do zooming o rotationg but its a good place to start