uiimagepickercontroller

UIImagePickerControllerDelegate Issues...

Mysterious (at least to me) issue. Here's what I'm doing - (void)imagePickerController:(UIImagePickerController *)picker didFinishPickingMediaWithInfo:(NSDictionary *)info { UIImage *neoImage = [[info objectForKey:UIImagePickerControllerEditedImage] retain]; NSLog(@"neoImage: %@", neoImage); [self.images addObject:neoImage]...

iOS4: UIImagePickerController behaving weirdly when presented modally

I'm trying to present a UIImagePickerController from a UITableViewController subclass using the following code: UIImagePickerController *picker = [[UIImagePickerController alloc] init]; if(library) picker.sourceType = UIImagePickerControllerSourceTypePhotoLibrary; else picker.sourceType = UIImagePickerControllerSourceTypeCamera;...

How to record a video automatically in Iphone app without user interaction

I am working an iphone app that needs to record a vedio automatically. I used mobile coreservices framework and using that. I made it to came into video mode and clicking on record option its start capturing a vedio. But I want it automatically that is.. I should able to record a video without clicking on record option. That is when vi...

Proper use of UIImagePickerController for both taking pictures with camera or selecting them from the iphone library

Hey. What I want to do is to always use the same instance of UIImagePickerController in my whole app, since i don't want to alloc and destroy my picker every time the user takes a picture. The app uses a picker and an UIImageView named pictureA to show the picture choossen from the iPhone album or taken with the camera. At start I all...

How can I check if there is enough memory to process a picture captured by UIImagePickerController when taking multiple pics with the camera?

I am writing an application that uses UIImagePickerController to take multiple pictures with the camera as fast as iOS allows. My application has to run on iOS 3.13 on all versions of iPhone hardware (v1 through 4). I am using UIImagePickerController with a cameraOverlayView. My question is, how can I determine programmatically how man...

UIImagePickerController Video question

Hi all, I am using the UIImagePickerController to let the user record video. The duration is limited to 10 seconds. I want to display a countdown in the corner while they are recording though so they know how long they have left. I am able to add this using the cameraOverlayView property. But I can't find anyway to get a call when they...

why we need to implement UiNavigationcontroller delegate in ImagePickerController in iphone

hello all I am using Uiimagepickercontroller to record a vedio there I need to implement two delegaes.. 1 is UINavigationcontroller delegate and 2 is UIImagepickercontroller delegate..If we not use navigationcontroller delegate its giving me warning at the code picker.delegte=self; what is the necessity of UINavigationControllerDelegate...

how to get preview mode In video recorded in iphone application using Iphone sdk

hello all, I am working an iphone app that automatically records vedio.. the video is getting recorded but I am not getting the preview of the video.. So I hidden the camera controls to record video automatically . I want to see the preview of the video with two options usethis and discard(something similar).. Could any one help me how i...

what method that is called when showing video preview in UIImagepickercontroller delegate in iphone

hello all I am working an app that automatically records a video. its does not showing preview of a video since I hidden the Cameracontrols . I want to know the method that calling the preview view.. Could anyone help me.. Thanks ...

Is it possible for my app to install default image set as an album on the iPhone?

I'm creating an app that will use UIImagePicker to let users pull custom images from their Camera Roll. However, I also would like to include a set of my own images with the app, so that users have the option of using those. I'm wondering if on the first install of my app there's a way to put those default images in their own album insid...

Setting delegate in subclass when theres two possible delegates in parent classes.

Hi I'm getting a warning when I set the delegate for UIImagePickerController. It's because UIImagePickerController and its parent UINavigationController both have delegates that can be used. The code works fine but just wondering how to handle delegates and inheritance properly and lose the warning. So basically I've created my own MyI...

Simplifying UIImagePickerController

I'm implementing Augmented Reality in my app. Is there anyway to just have a Cancel button, since taking pictures is out of the question? I know there's a similar question, but that is just overdoing it for me. I only wish to have the Cancel button, the rest can be hidden. Thanks. ...

UIImagePickerController not working on 4.0.2

Is anyone else having this problem? After upgrading to new xcode+sdk 4.0.2, the library image picker does show some built in images, but it never calls... - (void)imagePickerController:(UIImagePickerController *)picker didFinishPickingImage:(UIImage *)image editingInfo:(NSDictionary *)editingInfo; Instead it calls... - (voi...

Problem with UIImagePickerController

I'm having a problem with the UIImagePickerController being presented with presentModalViewController. As soon as the view displays (be it camera or photo album), the app crashes. The whole UI is created in code, no interface builder. This has only stopped working since I've been updating the code to run on ios4. Using leaks, I can't fi...

iPhone - UIImagePickerController take screen shots?

I am trying to use the following code to take screen shots from my uiimagePickerController UIGraphicsBeginImageContext(imagePicker.view.bounds.size); [self.imagePicker.view.layer renderInContext:UIGraphicsGetCurrentContext()]; UIImage *viewImage = UIGraphicsGetImageFromCurrentImageContext(); UIGraphicsEndImageContext(); It shows every...

iOS SDK - How to get the status bar back when using UIImagePickerController?

As soon as I add a UIImagePickerController sub view to my view the status bar disappears and I can't get it back. Is there any way to keep the status bar visible? UIImagePickerController *imagePicker = [[UIImagePickerController alloc] init]; imagePicker.sourceType = UIImagePickerControllerSourceTypeCamera; [self.view addSubview:imageP...

Execute code /after/ UIImagePicker is dismissed

I have a simple iPhone application. I display a UIImagePicker, and let the user select an image. I then execute some code on the image, and want this code to execute after the UIImagePicker has been dismissed. EDIT: updated code, problem remains: -(void)imagePickerController:(UIImagePickerController *)picker didFinishPickingMediaWithIn...

cameraOverlayView to crop the result in UIImagePickerController

When I use UIImagePickerController with cameraOverlayView, can I get the only a selective region from my overlay view? ...

takePicture method in UIImagePickerController does not take a picture instantly every time

I have a camera application that uses my custom overlay on the UIImagePickerController object. I am calling the takePicture method to take a picture when the user presses a button on my overlay view. Something like: [imagePicker takePicture]; [self showProcessingIndicator]; The processing indicator is the usual spinning wheel that s...

UIImagePickerController in landscape orientation

I want the UIImagePickerController to start(and stay) in Landscape orientation code. I tried the solution as described here (http://stackoverflow.com/questions/2083672/uiimagepickercontroller-in-landscape) //Initialize picker UIImagePickerController * picker = [[UIImagePickerController alloc] init]; picker.delegate = self; //set De...