uiimagepickercontroller

iPhone - UIImagePickerController - How to allow user to pick the source?

Hello, I'm writing an application that uses UIImagePickerController. I'd like to give users choice of source of pictures, either take a new photo or choose from existing ones. I'd like to create exactly the same selection interface as is in twitterfon or in safari when you hold tap on the link. It looks like some standard SDK thing but ...

After displaying and dismissing the Modal View Controller UIImagePickerController my Cocos2d iPhone app doesn't see multiple touches anymore

I have an app where I display the photo chooser (UIImagePickerController) but after the user dismisses it only single touches are working. And I think I know the root of the issue, but I don't know how to solve it... Before I show the modal dialog the stack during a touch is as follows: ... #3 0x00074de0 in -[EAGLView touchesBegan:wit...

Resizing UIimages pulled from the Camera also ROTATES the UIimage?

I am getting UIimages from the camera and assigning them to UIImageViews to be displayed. When I do this the camera gives me a 1200 x 1600 pixel image which I then assign to a UIImageView in my Application. The image is displayed as expected in the image view under this condition. However, when I attempt to RESIZE the retrieved UIImage b...

custom camera preview on the iPhone?

Hi, I have two of my apps rejected by Apple and sitting on the "shelves of approval" for 2 months, because both apps were using UIImagePickerController and I dared to add a rectangle on top of the UIImagePickerController, using something as [picker.view addSubView:rectangle]; On the other hand, applications like CameraZoom and others, ...

UIImagePickerController, UIImage, Memory and More!

I've noticed that there are many questions about how to handle UIImage objects, especially in conjunction with UIImagePickerController and then displaying it in a view (usually a UIImageView). Here is a collection of common questions and their answers. Feel free to edit and add your own. I obviously learnt all this information from some...

UIImagePickerController not loading in viewDidLoad for iPhone SDK

Hi all, I'm trying to show a UIImagePickerController as soon as one of my view controller loads. I'd like to this without the user having to press a button so I overrode the viewDidLoad method as follows: - (void)viewDidLoad { [super viewDidLoad]; UIImagePickerController *imagePickerController = [[UIImagePickerController alloc...

Select Multiple Images (UIImagePickerController or Photos.app Share UI)

In iPhone OS 3.0, Apple added the ability to share multiple pictures at once using the "Share" button and selecting multiple images (where a checkmark is used). I'd love to have a UIImagePickerController which lets the user select multiple images at once, rather than having to go one by one. Is there a way to do this, or do I have to w...

Calling popToRootViewControllerAnimated after UIImagePicker finish or cancel? (iPhone, Objective C)

I am trying to implement live camera functionality in my iPhone application and am running into trouble. Basically, the way it is structured is this: I provide a UINavigationController wherein the user can navigate to an image with a table view and (upon choosing one) a detail view. They can then click on a button and take a new photo w...

iPhone UIImagePickerController problem: want to show UIActivityIndicatorView after hit "Use" button

When Apple introduced version 3.0 of the iPhone OS the UIImagePickerController changed slighty: it no longer provides an activity or progress indicator after the user confirms a recently taken photo. In a nutshell, you now - take a picture, - decide it's ok and - hit the "Use" button and wait. There is no indication as to whether you ...

iPhone: Get camera preview

Hi, I'd like to get the image that is being displayed on the UIImagePickerController when user uses the camera. And when I get I want to process the image and display instead of regular camera view. But the problem is when I want to get the camera view, the image is just a black rectangle. Here's my code: UIView *cameraView = [[[[[[...

UIImagePickerControllerDelegate Returns Blank "editingInfo" Dictionary Object

Hi there, I have an iPhone app that calls upon the UIImagePickerController to offer folks a choice between selecting images via the camera or via their photo library on the phone. The problem is that sometimes, (Can't always get it to replicate.), the editingInfo dictionary object that is supposed to be returned by didFinishPickingImage...

Take the photo without the imagepicker

HI Guys! I'm working on a camera application. I want to use a timer to take a photo (without user interaction). But apple provides only UIImagePicker to take snapshots and create videos. is there any other way to do this. or there is a way to take a image automatically through ImagePicker without pressing the take picture button. Thanks...

UIImagePickerController for movie Item

I am writing a simple video uploader application on iPhone 3GS where I first direct the user to photos album, and then select the video to share or upload. I am using the UIImagePickerController in the following way: videoPickerCtrl = [[UIImagePickerController alloc] init]; videoPickerCtrl.delegate = self; videoPickerCtrl.sourceType =...

Question about iPhone 3GS Image Picker Controller

I am writing a simple video uploader application on iPhone 3GS where I first direct the user to photos album, and then select the video to share or upload. I am using the UIImagePickerController in the following way: videoPickerCtrl = [[UIImagePickerController alloc] init]; videoPickerCtrl.delegate = self; videoPickerCtrl.sourceType = U...

In iPhone 3.0, Application crashes when trying to send an image from the camera using MessageUI

There is a part of the iPhone app that I'm developing where you can send images using the in app mail in iPhone 3.0. Selecting an image from the camera roll works perfectly, but when I try to go from the camera to the email (ie - from the UIImagePickerController to the MFMailComposeViewController), the application crashes. This is the ...

How to show an image representation of a movie selected by UIImagePickerController

I am using UIImagePickerController that gives user to be able select an existing photo or use the camera to take an image at that time. And i can show that image in my application with UIImageView. Now i want to use this ability for movies also. But i couldn't find any way to show the selected movie as an image in my app, just like the ...

iPhone Camera and Image Chooser

Hi Everyone: I have found a lot of information on using UIImagePickerController to let the user choose the image they want from the Photos application's data. I am wondering how I can create this same effect on 3.0, as it doesn't seem as if a lot of the old code works anymore. In addition, I would like the user to be able to take a ne...

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? ...

Writing a simple image browser using UIImagePicker

Hello! I would like to write a simple image browser. User taps a button, UIImagePicker springs up, user selects photo, large detail gets displayed, user taps a ‘back’ button and is back in the picker. Everything is quite easy except the last part, the returning to the picker. The picker is a modal view, so that I have to dismiss it in or...

Recommend iPhone library for image gallery?

I would love to use a UIImagePickerController to browse and view images from my app's bundle. However this functionality doesn't seem to exist. Is there a library that replicates the functionality of the photo browser, but can use a list of images from the app bundle? ...