uiimagepickercontroller

UIImagePickerController problem

I'm using the UIImagePickerController to allow the user to select a photo from their library. I then want to assign the chosen image with this code; (void)imagePickerController:(UIImagePickerController *)picker didFinishPickingMediaWithInfo:(NSDictionary )info { UIImage image = [info objectForKey:UIImagePickerControllerOriginalImage]; ...

How to change the icon of an image to represent it has been selected on an iPhone.

I am trying to simulate the same behaviour as the defaults "Photos" application found on the iPhone OS 3.X-4.0. Basically when the user selects multiple photos in the Album via the UIImagePickerController from the Image Library,an icon (tick mark) appears on the image to represent that the image has been selected by the user. How to impl...

UIImagePickerController preview screen

In my UIImagePickerController I have set allowsEditing to YES. Now I always see the preview screen and the image returned is always "edited" (image within the rectangle is returned). Is there a way to allow user to use original image instead of the edited image sometimes. Also, is there a way to "zoom in" the original image so it fits in...

How to determine whether cameraDevice is available?

In my current application I have allowed the user to submit an image to an image service online. I allow the user to select from either their Photo Album or take a picture with the Camera. However, I have an issue. If the device that is being used doesn't have a camera and the user selects to take a photo, the application crashes. I nee...

UIImagepickercontroller: is it possible to change the sort order of the images in camera roll?

Basically the app im working on would be a lot less of a pain if users didn't have to scroll to the very bottom of their camera roll to get their most recent photos, I want the most recent at the top, wouldn't this make sense anyway? Not sure why apple designed it this way, or if im just not realizing something. Thanks nick ...

How do I add an "image guide" front of an UIImagePickerController ?

Hi guys, I would like to put an image (a guide so people can frame the picture correctly) in front of the camera preview of the UIImagePickerController. How would I do that ? thanks Louis ...

UIImagePickerController.frame is not full screen

Hi! I'm initializing an UIImagePickerController like this: self.cameraController = [[UIImagePickerController alloc] init]; self.cameraController.sourceType = UIImagePickerControllerSourceTypeCamera; self.cameraController.showsCameraControls = NO; self.cameraController.navigationBarHidden = YES; self.cameraContro...

UIImagePicker and AVCaptureSession access camera simultaneously

Hi Everyone, I'm wondering if it's possible to have an instance of an AVCaptureSession and UIImagePicker both accessing the camera simultaneously? I want to create an app that shows an ambient light meter/indicator as an overlay view of a UIImagePicker when the camera is active. I previously implemented this using UIGetScreenImage() but...

iPhone - UIImagePickerController setVideoQuality UIImagePickerControllerQualityType640x480 having no effect

Hey guys, I'm trying to allow users to record or choose a video in my iPhone app, limited to 30 seconds. The videos are uploaded to my web-server, then played back in the app using UIWebView. The app happily plays back recorded videos, but on older iPhones (3G for example) it won't play videos that were chosen from the camera roll. T...

AVCaptureSession captureOutput high quality image

Is there any possibility to get a high-resolution image (like images from UIImagePicker) out of the captureOutput- method of the AvCaptureSession? My application should work like this: Fist I am looking for the object in the captureOutput- methode (low resolution image 640x480). After it's detected, I would like to get a high-resolution...

Access metadata (exif tags) of image taken by UIImagePickerController - iOS/iPhone

Is it possible to access the metadata of an image captured by UIImagePickerController in iOS? I understand this can be done with AssetLibrary framework for images captured by the camera application (or otherwise present in the iPhone photo library), but can a developer access any of the metadata/exif info from within an application right...

Good way to calculate 'brightness' of UIImage?

I'm writing an app that will offer OCR of an image captured by the iPhone camera. I want to test the image before I perform the OCR analysis to see if there is sufficient lighting. Anyone have any ideas? ...

CameraOverlayView buttons

Hi Guys, I'm adding a cameraOverlay to my UIImagePickerController, it shows and all but it doesn't register touches. I init a button in the viewDidLoad and a one via IB. Is there some rule that prohibits me from adding a UIButton to a cameraOverlayView and register touches? Thanks ...

Access all the photos of user album in iphone using application

Hi all, I am working on one application in which i need to show slide show of the user selected photo album, UIImagePickerController only returns the selected image. I want all previous and next images of the selected image, is it possible with UIImagePickerController and if not is there any other way that i can do it. Thanks in advance,...

UIPopoverController & UIImagePickerControl: "Popovers cannot be presented from a view which does not have a window"

I am trying to display a UIImagePickerControl in my iPad app. At first, the debugger told me that I needed to put it in a popover when doing it on an iPad. So I wrote the following code: UIImagePickerController *imagePicker = [[UIImagePickerController alloc] init]; imagePicker.delegate = self; imagePicker.sourceType = UIImagePickerContr...

Showing camera view from one view to anotherview

hello to all, i have viewOne which contain a method to trigger camera n capture the image, and i have another view(viewTwo) to show image which captured from previous view.. here am struggling to show image which captured in viewOne's View to viewTwo.. can anyone give me some suggestion how to show image from one view to another.. tha...

Is it possible to create a stub for UIImagePickerController?

I am trying to write unit tests for a class that manages a UIImagePickerController. Yet, I still would like to link against UIKit to pull in other symbols I don't care about stubbing. Usually, I use OCMock for mocking out instance methods. With UIImagePickerController I'm interested in mocking out class methods which OCMock can't do. I'...

captured image not showing in uiimageView

hello all, i have a uibutton to trigger iphone's camera to grab image and i have a uiimageView in same view to show captured image , but it not showing anything after capturing... any solution ?.. ...

UIImagePickerController stuck at compressing Video

Hi I've got the image picker working in a popover on the ipad, but when running in the simulator when I select a video in the picker it says its compressing and then gets stuck. Nothing happens, the delegate function never gets called. ...

Why does status bar rotation happen "behind" my modal UIImagePickerController?

In my application I have a UIViewController that opens a UIImagePickerController using presentModalViewController. The image picker appears to disallow orientations other than UIDeviceOrientationPortrait, which is fine. However, it appears that if I rotate the device to landscape, the status bar rotates despite the fact that the UIIm...