Currently I am saving and image with the following method in "saved photos album".
UIImageWriteToSavedPhotosAlbum(image, self, @selector(image:didFinishSavingWithError:contextInfo:), nil);
Now I want to associate the current latitude and longitude with that image.
How can I do so ?
Can I do with its mediaInfo dictionary (metadata).
...
I am using UIImagePickerController to capture video.
I have set the delegate to save the captured video when video capture is stopped.
The delegate does get called when stopVideoCapture is called by the program based on user action.
I would like the same actions to also happen if while video capture is in progress the user presses the h...
Hi,
I'm using UIImagePickerController to take photos and wondering if
there's a way to get the dimensions of the camera before I take the photo.
(because it varies between iphone 3 and 4)
I want to set the value of cameraViewTransform so that the preview image fits the
full screen, thus before not after taking the photo. Any suggestions...
I want to add a confirmation view after the user takes a photo or selects a saved photo. The confirmation view will just show the selected image, with a cancel and upload button in a toolbar.
My UIImagePickerController is presented modally from one of my view controllers, which is controlled by a navigation controller, which is in turn ...
Hi,
after getting a selected image in didFinishPickingImage, is there a way to get the filename or name of that image? Is there any string that uniquely identifies that image or that is saved with the image at the moment image was added to the photo album?
Thanks.
...
I have an app in which i use an image picker control. What i have to do is, the user has to select an image, and the image should be sent to the server, from where i retrieve an id which i have to use further in the app. I have an image view to show the user which image he has selected. As my server requires image as a file, so i save it...
Hello,
I am currently working on an app with augmented reality. I chose to use the ARToolKit library (available on github).
I have a little problem to integrate my view in my project.
The problem is that I can not see my navigationbar when UIImagePickerController is launched
AugmentedRealityController.m
- (Void) displayAr
[RootViewCon...
When trying to show the UIImagePickerController I had strange problems with my app crashing on iOS4. Here's the output from log:
malloc: *** error for object 0x550ba20: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
Setting breakpoints, trying to spy the name of the object 0x550ba20 (with pri...
Hi All,
I have a UIImagePicker based app that controls the camera with custom overlays to handle a heads up display as well as digital zooming.
I would like to add "touch to adjust exposure" like the normal iPhone camera app has. When you zoom in, you ultimately want to change exposure based on something other than "the big picture vi...
I want to use portrait mode only when I take a photo. I've tried to do this [[UIDevice currentDevice] setOrientation:UIDeviceOrientationPortrait]; It works but it will be deprecated.
I've tried to implement shouldAutorotateToInterfaceOrientation in the view that call UIImagePicker but it doesn't work.
thank you :)
...
Hi,
My application supports taking pictures from iPhone in portrait mode and upload to the server.
However, the pictures taken are appearing in sideways once uploaded to the server.
Please help!
-KC
...
Hi everyone!
In my game I'm grabbing an image from the iPhone's photo library using the UIImagePickerController, which returns a UIImage. Because the image is a huge resolution (1536x2048), this UIImage takes up almost 20mb in memory. To resolve this, I shrink the image significantly before using it to generate a sprite and this works i...
I have divergent needs for the image returned from the iPhone camera. My app scales the image down for upload and display and, recently, I added the ability to save the image to the Photos app.
At first I was assigning the returned value to two separate variables, but it turned out that they were sharing the same object, so I was gettin...
Hi All,
I'm trying to do something which should in theory be quite simple, but I've been chasing my tail around for days now. I'm trying to take a touch event from a screen overlay, capture an image, and crop a section of the image out around where the finger touched.
Now all my code is working fine, the overlay, events, cropping etc....
Hi all,
I have to give functionality to select photos by the user.
I have used this.
ipc.sourceType = UIImagePickerControllerSourceTypePhotoLibrary;
Now I have to restrict user to select only photos and i want videos to be not displayed on the list. Or somehow user should not select video at all.
Please suggest some way out.
Than...
I open the camera view and place an image as an overlay.
I then want to save both the overlay and the camera view's image as one image.
Previously I achieved this using UIGetScreenImage().
Now that Apple forbid this what are my options ?
takePicture will only capture the camera data but the the overlay.
Merging the overlay with the image...
Hi,
I'm working on a pretty simple iPhone app at the moment. I have a UIWebView with a UIToolBar at the bottom of it with a button on it. I've built it all through code, although I did create an empty NIB as I am hoping to get Facebook Connect working with it eventually and have had problems when I don't set it up with this empty NIB in...
I wrote an application that sets some camera values (duration, quality, etc) using UIImagePickerController and it works fine. However, on an iPhone 4, I start with the front camera and if the user switches to the rear camera, the quality settings are lost. Is there a way that I can test if the user switches between the front and rear c...
I have the camera working in my app, but after the picture is captured and I select use, the app crashes.
How can I connect this use button and make it set a UIImageView I have created to the captured image?
EDIT
Camera is available and ready
Using two-stage rotation animation.
To use the smoother single-stage animation, this...
I'm dismissing a modal view controller and then immediately presenting another one, but the latter never happens. Here's the code:
[self dismissModalViewControllerAnimated:YES];
UIImagePickerController *picker = [[UIImagePickerController alloc] init];
picker.delegate = self;
picker.sourceType = UIImagePickerControllerSourceTypeSav...