uiimagepickercontroller

Change UIImagePickerController Delegate

I access the camera via UIImagePickerController, and when I set the delegate to self, I can use the delegate methods. However, for what I have planned I need to have the delegate methods in another class, but whenever I try to do that, it will dismiss the the picker whenever I take a picture. When I do this, it works: preview.delegate...

takePicture is being difficult on 3.1

Ok. So I have a ViewController which implements the UIImagePickerControllerDelegate. Great. I also have an overlay view going on top of my picker. I have a button on said overlay that I want to call takePicture on. My question is, How is this done? takePicture isn't something I need to write myself is it? It's defined in UIImagePickerCo...

UIImagePickerController - Video recording - New overlayview

I'm trying to basic video recording. I'm facing few issues with them. When I start the app, its showing camera ready for recording. At the bottom of the view, there's record button and cancel button. When I click record button, it starts recording. When I click record button again, it will not save and ready for next recording. Its showi...

Push UIImagePickerController to the left

I am making a camera app, which gives the user access to the Photo Library. They touch the button, and UIImagePickerControllerSourceTypeSavedPhotosAlbum pops up using presentModalViewController. When they touch a photo, I want a view to push the ImagePicker to the left and the new view to come in. The thing is, I want to keep the ImagePi...

iPhone UIImagePicker Camera video trimming problem

How to get the trimming video function working on iPhone? I am using UIImagePicker to capture videos, and set allowsEditing to YES. In the view with the "Use" button right after video captured, I was able to drag the yellow trimming box, but it looks like the video saved are not trimmed. Any ideas? Thanks! ...

Linking to selected photos

If I allows users to select photos and need to store those selections (in a database), can I store a link to the selected photo or do I need to grab the image and store it in the app's Documents folder? The latter doesn't seem practical since it will cause the image to neednessly take up double the amount of space. I'm familiar with UI...

Re-using the UIImagePickerController.cameraOverlayView

Hi, I have a hierarchy of views: compView with two children: bgView objectView. I'm passing objectView to the cameraOverlayView property of the UIImagePickerController. Once the ImagePicker is done I update the image in the bgView and I would like to continue to display the view tree including the objectView which was passed to ...

Modifying, coloring and dragging pre-existing images iPhone application

Hi, I am developing an iphone application which would let me modify the image by dragging other images over its top along with functionality that would let me choose a specific color from the image and replace it with some other color shades i choose. If anyone has some clue like how to actually implement it or some code, that would be ...

How do I choose a video from UIImagePickerController on iPhone 3G?

On my iPhone 3G I have a couple videos saved from emails and some apps i recored with and every time I try and open the UIImagePickerController it doesn't show the videos for me to choose. How do I get the UIImagePickerController to include videos and not just pictures? ...

Help debugging iPhone app - EXC_BAD_ACCESS

Hi, I've developed my application using my 3G device to test with. Upon giving this to a friend to test, he's noticed that it crashes..I've had a look at the crash log, but it's not much use except for the "EXC_BAD_ACCESS" statement after a few memory warnings. On my device, I can use the imagePicker lots, and each time a photo is take...

View being released when in use due to memory warnings

I've posted a couple of questions before, trying to work out why I'm getting a EXC_BAD_ACCESS, and I've done a bit of debugging See here: http://stackoverflow.com/questions/2024266/help-debugging-iphone-app-excbadaccess/2024391#2024391 and: http://stackoverflow.com/questions/2024654/overreleasing-here So, I think I've discovered what...

Taking image using UIImagePickerController

Hi All, I am taking pictures from the iPhone camera using the UIImagePickerController Class. I am using this delegate method for getting the image. (void)imagePickerController:(UIImagePickerController *)picker didFinishPickingMediaWithInfo:(NSDictionary *)info { UIImage *image = [info objectForKey:@"UIImagePickerControllerOriginal...

how to save UIImagePicker image with a specific name

hi experts, i capture image from iphone using UIPickerController, then how programatically to save it with specific name, and to call the image later (by using the name), is it any possibilities to change the image size eg. from 100 x 100 pixels to 50 x 50 pixels thanks ...

[iPhone programming] UIImagePickerController run out of memory with camera source

Hi everyone. I got a big performance issue using UIImagePickerController and saving the image on disk. I can't figure out what I am doing wrong. Here is my code : - (void)imagePickerController:(UIImagePickerController *)pick didFinishPickingMediaWithInfo:(NSDictionary *)info { UIImage *image = [info objectForKey:@"UIImagePickerControlle...

imagepicker controller shows error when build for iphone simulator 3.0

Hello all, I am developing an application which uses both video recording and photo shoting.So i want to show buttons according to os for this i implement these methods.It's working fine when i build for OS 3.1 but when i build for OS 3.0 it shows errors here are the methods if ([self videoRecordingAvailable]) { imagePi...

How do I reduce Image quality/size in iPhone objective-c?

I have an app that lets the user take a picture with his/her iPhone and use it as a background image for the app. I use UIImagePickerController to let the user take a picture and set the background UIImageView image to the returned UIImage object. IBOutlet UIImageView *backgroundView; -(void)imagePickerController:(UIImagePickerContro...

camera overlay view - just for preview?

I've noticed that in OS 3.1 you can add an overlay view to the image picker with cameraOverlayView However, I've also noticed that adding a view via this method also displays the view for the entire time the UIImagePicker is displayed, when I only want to show it during the preview stage. Is there a way to make this only happen duri...

UIImagePickerController in Landscape

Hi Everyone: I have been searching for an answer to this, but cannot come up with anything. Apparently, iPhone SDK 3.0 made it possible that UIImagePickerController can be displayed in landscape mode - but I am not finding any method that will allow this. I would think that if the application is in landscape by default it would automa...

navigationItem.prompt & UIImagePickerController

Is it possible to make calls to navigationItem on a UIImagePickerController? Specifically, the image picker? Below I've linked an image of what I'm trying to achieve ( screen shot taken from another app doing the same thing). Once the user selects an image from the picker the navigationItem.prompt is set and, though I think it might be a...

Capturing camera framebuffer on iPhone 3G (not S)?

I've downloaded a free application from App Store (very nice application for instance) called ReadTheQRCode and it dont asks you to take the picture to decode the QRCode, my point is, is the application using the framebuffer of the camera on iPhone 3G or it is taking several pictures at a given time, ommiting the iris animation, the edit...