uiimagepickercontroller

iPhone contentOffset uiscrollView in UIImagePicker

Hi, I would like to access the contentOffset value from de UIImagePicker scrollView during scrolling. Does anybody have a clue on how to accomplish such a thing? kind regards, Tony ...

How can I dismiss a cameraviewcontroller on iPhone sdk?

Hi everyone! I would like to dismiss the camera view, while displaying a modal view, so this would be faster because the camera doesn't display anything. I have set up my cameracontroller this way: self.cameraController = [[[UIImagePickerController alloc] init] autorelease]; self.cameraController.sourceType = UIImagePickerControllerSou...

Iphone View origin changes after presentModal

Hi, In my application i present a UIImagePicker. When i dismiss this modal, my rootView goes from origin.x=5 to origin.x=0. Does somebody knows why my view will automatically changes the origin when i dismiss or present my modalViewController? I tried resetting the origin in viewDidAppear and viewWillAppear, but no luck. If i change t...

How to set showsCameraControls of a previously used UIImagePickerController?

I have a situation where I'm trying to store one instance of a UIImagePickerController. One use of it requires showCameraControls = YES and the other requires showCameraControls = NO. When it is first instantiated, it is set to NO. However, when I show the UIImagePickerController later on and specify showCameraControls equal YES, it has ...

iPhone: How to Write an Image to Disk in the App Directories

I am working on an iPhone project in which I need save camera images to disk and file but the code below fails: (**** -(void)imagePickerController:(UIImagePickerController *) picker didFinishPickingMediaWithInfo:(NSDictionary *)info { [picker dismissModalViewControllerAnimated:YES]; imageView.image = [info objectForKey:@"UIImagePicker...

resized uiimagepickercontroller

Hello, How to get a resized uiimagepickercontroller, I mean non fullscreen? Thanks for your help :) ...

use uiimagepicker as main view of the application

Hello, More or less, everything is in the title: how to use a UIImagePicker as the main view of the application like for instance for an Augmented Reality App? Thanks in advance for your help, Regards, ...

UIImagePickerController Save to Disk then Load to UIImageView

Hi, I have a UIImagePickerController that saves the image to disk as a png. When I try to load the PNG and set a UIImageView's imageView.image to the file, it is not displaying. Here is my code: (void)imagePickerController:(UIImagePickerController *)picker didFinishPickingMediaWithInfo:(NSDictionary *)info { UIImage *image = [in...

How do I read live camera data on the iPhone (like Microsoft Tag Reader)?

While the user is still in UIImagePickerController, I'd like to be able to get a UIImage representation of the image in the camera, make some changes to the image, and then display the altered image instead of the image coming directly from the camera. How can I do this? I tried setting a timer and calling takePicture, but calling it s...

How to hide the dismissModalViewController in iphone?

I am new to iphone development.I am using UIImagePickerController to access the photo library of the device.When the image is selected it navigates to another view.At the same time i am dismissing the picker controller and navigating to the another view.I want to hide the dismissing of picker controller so it should look like ,after clic...

Iphone sdk upload images to Flickr with geotagging

How can I upload an image to flickr from the iphone sdk to flickr while the image is still geotagged? I tried to use objectiveflickr but it takes away the exif information so the photo is no longer geotagged. There has to be a relatively easy way to do this because there are apps around which do this very well. ...

UIImagePickerController does nothing when using camera after I hit "Use" button

Code below. When I hit the "Use" button after taking a picture ... the application becomes totally unresponsive. Any ideas what I'm doing wrong? The "addPlayer:" method is called when a button is pressed on the UIViewController's view. Thanks - (IBAction) addPlayers: (id)sender{ // Show ImagePicker UIImagePickerController *i...

Refresh displayed Camera Roll contents

Hello! I use the UIImagePickerController class to display the Camera Roll contents. I have a second thread that saves an image to the Camera Roll. When the image has finished saving, it does not appear in the Camera Roll that’s open. Is there a way to force the Camera Roll to refresh? (Other than dismissing and displaying it again.) ...

iPhone app spinning an image from the last position...

I am trying to create an animated spinning image. This is all fine and I am using CABasicAnimation as described in this thread http://stackoverflow.com/questions/486609/how-can-i-use-animation-in-cocos2d My problem is that I want to spin the image more than once a random number of times and I want to spin it from it's last position. At ...

Why would a file created and stored in the iPhone Documents directory be inaccessible when rerunning my application?

This is driving me crazy! I would really appreciate your help... My app saves a .png (referencing a photo taken within the app) to a file in the iPhone Documents directory. The app then creates and displays a UIImage from the file with no issues - but only until the app is rerun an arbitrary number of times. I think this may be related ...

How do I use UIImagePickerController just to display the camera and not take a picture?

Hello All: I'd like to know how to open the camera inside of a pre-defined frame (not the entire screen). When the view loads, I have a box, and inside it, I want to display what the camera sees. I don't want to snap a picture, just basically use the camera as a viewfinder. I have searched this site and have not yet found what I'm looki...

How does one populate the results of an UIImagePicker with some "default" images (if the user has none of their own to choose from)

How does one populate the results of an UIImagePickerController with some "default" images. In this case I have made a photo manipulation app where the user selects an image from their library, but I'd like to give them sample images without actually saving them to their libraries. Is there some way to manually inject my default images i...

Selecting an entire photo album with UIImagePickerController

Hello all, I was wondering if there's a way to select an entire photo album with UIImagePickerController. What I have now is a UIImagePickerController with sourceType of PhotoLibrary. It shows the Albums, and navigates inside an album to select a single image... What I want to do is when the user selects the Album, instead of going in...

UIImagePicker on full screen on iPad

For my tests, I need to create a simple app on the iPad to step 1. loads an image from the Photo library (UIImagePickerController). step 2. Then, this image is converted into texture and displayed into an OpenGL ES view. I started to define the app with the XCode Open GL ES template. Step 2 is Okay. But I have a problem launching th...

iPhone: UIImagePickerController Randomly Fails to Take Picture

I use a UIPickerViewController to take picture. It works 80% but seemingly at random it fails to take a picture. In tracing the code I found out that it occasionally goes to -PinRecordNewTableViewController:viewDidUnload. That is where it fails because it set nil to all ivars. @interface PinRecordNewTableViewController : UITableVie...