Hello,
In my app, I have a UIImagePickerController. When a image is selected, my view controller needs to get the image and pass it to another view controller, which is pushed onto self.navigationController. But I am always getting SEGFAULTS or nil arguments, and things like that. I would appreciate it if you could tell me what is wrong ...
After I choose a picture through the UIImagePickerController interface from the Photo Library, the Photo Library view stays displayed, even though I've called dismissModelViewControllerAnimated in imagePickerController:didFinishPickingImage:editingInfo.
Has anyone seen this? These are the three relevant methods I'm using:
- (IBAction)c...
Update:
With iPhone OS 3.0+, the whole UIImagePickerController API has changed. This question and answer should be considered 2.2. legacy code.
When using the UIImagePickerController and you allow editing of the image. The iPhone allows the user to resize and pan the image. However, the max size of an edited image is capped at 320x...
Hi
I am using a shared instance of UIImagePickerController in my application. I am using the Camera Roll as the image source.
Sometimes when the image picker opens, instead of seeing the photos gallery, I am able to see only a blank white screen. This issue is not reproducible every time and happens only some of the times.
Has someone...
I'm writing code to use UIImagePickerController. Corey previously posted some nice sample code on SO related to cropping and scaling. However, it doesn't have implementations of cropImage:to:andScaleTo: nor straightenAndScaleImage().
Here's how they're used:
newImage = [self cropImage:originalImage to:croppingRect andScaleTo:scaledIma...
I was using UIImagePickerController without any problem.
Before when I was taking a picture in the landscape mode, the picture in the Preview (when the buttons Retake and Use Photo were present) was always automatically rotated so as to appear correctly in the portrait mode.
But now when I use the UIImagePickerController the preview mo...
I have an app which allows the user to select an image from camera or photo library. It then places that image in a ImageView. I am then using Quartz to grab the image from that image view and render it along with some basic overlays etc.
The issue is that when the image is picked from the camera, or from the camera roll Quartz draws ...
Hi all,
I am using iPhone OS 3.0 SDK.
My requirement is that I want to get the image from the photo albums library and display it on an image view.
I am using the "UIImagePickerController" for that.
But the problem is the "- (void)imagePickerController:(UIImagePickerController *)picker didFinishPickingImage:(UIImage *)imageeditingIn...
Hello,
in my UIImagePickerController (camera shooting view), I want to track touches.
Every touch event gets properly called except for touchesbegan:
It's not a typo or something because touchesbegan: had been called up to the moment,
I've changed the controller from UIViewController to UIImagePickerController.
Why is touchesbegan: no...
when opening working with an UIImagePickerController and setting allowsImageEditing = YES; there is a default cropping frame that is 320x320. In my case, I would like to setup that cropping frame to 320x240 for images that are landscape, and 240x320 for images that are portrait. However, I haven't been able to find a way to change that ...
Hi,
how do I add an overlay (UIImageView) to the camera preview and
handle touches on this?
My previous attempts to do this (e.g. use UIImagePickerController and add the image as a subview) have failed.
...
I'm using UIImagePickerController to take a photo in portrait mode on the iphone and save to the web. The photo appears in portrait on the phone, but rotates 90 degrees on the web.
If I download the photo and look at it in Preview (mac) or Photoshop (mac or pc) it is in portrait again. In Windows Picture Viewer (pc) it's rotated to lan...
I have to create a photo gallery app in iPhone. It should function same as the Photos app which is shipped with iPhone. But it should show the images which I package with the app.
UIImagePickerController reads only the following source types.
UIImagePickerControllerSourceTypePhotoLibrary,
UIImagePickerControllerSourceTypeCamera,
...
Hello everyone!
Here is my situation. I am creating a landscape based app and doing all my testing on iPhone OS 2.2.1. In one section of the app, the user has to either click a picture using the camera or select a picture from the photo album. Obviously, I used the UIImagePickerController to get this done. But I am facing a very serious...
I am opening an image picker, camera style, as a modalviewcontroller. If I open the image picker, then cancel, the previous view comes back fine.
If I open the image picker, take a picture, then go back and cancel, the background to my previous view is missing and I can see through to the main window. Does anyone know how this might h...
First of all, my code isn't complex - in fact it's just two sample programs from "Beginning iPhone Development: Exploring the iPhone SDK", combined into one program. I took the ViewSwitcher application, which switches between a blue view and a yellow view, and replaced the YellowViewController with the CameraViewController from the camer...
I followed a great tutorial (http://iphone.zcentric.com/2008/08/28/using-a-uiimagepickercontroller/) on using a UIImagePickerController to get images from the Photo Album or Camera on the iPhone. The problem is, the tutorial is a bit dated and documentation cites a method used by the delegate as being depreciated since 3.0. The problem i...
It's well known that UIImagePickerController doesn't return the metadata of the photo after selection. However, a couple of apps in the app store (Mobile Fotos, PixelPipe) seem to be able to read the original files and the EXIF data stored within them, enabling the app to extract the geodata from the selected photo.
They seem to do this...
Hello wonderful people of stackoverflow!
I have a problem.
I am working on an app that will take multiple photos and each time it will enlarge them, show a preview, save them, and then load the UIImagePickerController again.
But after taking about 5 to 6 pictures it dies.
I think that it is dying because I have a UIImageView that I s...
Using UIImagePicker class I can select the UIImagePickerControllerSource as UIImagePickerControllerSourceTypeCamera. This would show up both the options, camera as well as video recoreder.
I want only the video recording option to be available to the user. And as soon as user opens it starts recording without the need to tap record but...