Load Gallery images in Viewcontroller of iphone - iphone

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

Related

Can Vuforia AR button open another view or app?

I'm making an app using unity and vuforia extension. When app will recognize an image it should show a button above it and, when the user presses it, I want to display a photo gallery. Is there a way to make this button trigger showing another UIView? Or show another app?
Yes, you can definitely do this. There are resources out there that will teach you how to create a plugin where you can launch an external UIView. For example: http://forum.unity3d.com/threads/56755-Unity-plugin-to-handle-loading-native-Cocoa-UI-s-with-ease
Also, you can open another app using Apple's URL scheme, described here:
https://developer.apple.com/library/ios/featuredarticles/iPhoneURLScheme_Reference/Introduction/Introduction.html

how to save an online image in to iphone photo album

my application is an image base application.
there is an option for seach online.if we press a button there is a webview controller and
goes to google home page.there we can search image.my requirement is select an image and save
in to photo album
how it is possible.
Regards
Baiju
Download the image into a UIImage:
Create a UIImage with a URL in iOS
Save the UIImage to the photo album:
How to save picture to iPhone photo library?
Pretty easy to do those searches on Stack Overflow don't you think?

Integrate Photo Gallery + iPhone

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

Open standard iPhone photo library application from iPhone app

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.

Need way to view an album of pictures on iPhone

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