How to add photo library button on a UIImagePickerController? - iphone

Does anyone know how to enable the photo album button on a UIImagePickerController when it's in the camera mode?
I am very new in iOS development. I have seen this kind of question, but I can't understand it so please help me out by explaining step by step and give sample code if possible.

I'm afraid (I looked into doing this recently) that there is no easy way (i.e no built in setting) that you can simply enable.
You must use the cameraOverlayView property of the UIImagePickerController to add a custom view over the camera view which will include a photo album button.

Related

How to disable/Hide the UIImagePickerController Camera shutter in iPhone app?

I searched lot in google and tried my level best but, still i cant fix this issue. I want to disable or hide the UIImagePickerController Camera shutter when it is opening.
I searched in google and got advice to use AVCaptureSession. But, in my app i used CustomOverlayView in UIImagePickerController Camera with some buttons. In this case i want to disable or stop to show the Apple's Camera shutter. Simply the user won't to see the camera shutter when they pick the Camera UIImagePickerController. How can i do this? Can you please help me to solve this problem. Thanks in advance.
I have seen some apps cover it up with their overlay, but you can't remove it. AVCaptureSession really does sound more appropriate for your purposes. I see one example here:
http://www.musicalgeometry.com/?p=1273

Accessing UIImagePickerController Camera's Preview Screen

I am working with a basic UIImagePickerController. I have read about camera overlays and am not ready / don't need to dive into that world yet.
After the user takes a photo, the UIImagePickerController displays a "Preview" screen. All I want to do is change the text on the button on the preview screen from "Use" to "Upload".
It seems to me that there should be a very easy way to access this, but I have found very few references to the "Preview" screen.
Any assistance would be appreciated.
That functionality is not exposed in the SDK. There is no way to customize the Preview screen.

Is it possible to load a view when we click a coverflow image? (iPhone SDK)

Is it possible to load a view when we click a coverflow image?
Please suggest how this can be done.
Here you go ;)
http://www.chaosinmotion.com/flowcover.m
Please vote this post up if it helps :D
CoverFlow is not a standard iOS component. It doesn't have a public API. You'll need to either create your own or use a library someone else created.
In answer to your question, it is possible to load a view when you click an image. The iPod app probably creates a view, then uses an animation to present it onscreen.

Is it possible to customize UIImagePickerController?

When using UIImagePickerController to browse a folder, I hope to customize UIImagePickerController as below
in thumbnails mode, place a customized subview (includes a Label and a button) under each thumbnail.
Is it possible?
If not, is there any other third party's free or comercial framework can do this?
Thanks
interdev
In short, no. The UIImagePickerController is a black box user interface provided by the SDK. It should not be subclassed or modified. Doing so may cause your app to be rejected during review.
You might be able to accomplish this with Three20's TTThumbsViewController which you should be able to modify without risking Apple's wrath.

UIActionSheet to choose 'Camera' or 'Photos' and then show the Camera or Photo picker

I am creating an app, in which the user will be able to choose a photo. Now I want that when the user taps a button, an UIActionSheet pops up to let the user choose if they want to use the Camera, or the Photo Library. The UIActionSheet should always be there, but the Camera option only if the device has a camera. I'm not sure if there is a standard method to do this, or if I need to implement it myself. Can anyone help me?
Thanks
You will need to build this action sheet yourself and configure it based on the presence of a camera.
Finding out if a device has camera support is easy. Check the Device Support section for more information.
Quote from the guide:
Use the isSourceTypeAvailable: method
of the UIImagePickerController class
to determine if the camera is
available. For more information, see
“Taking Pictures with the Camera.”