I am developing an application that uses the camera. I am using browsing option to browse the photos from the gallery. I am also presenting the option to take a photo if required. For getting the selected photo while browsing I have implemented UIImagePickerControllerDelegate method:
- (void)imagePickerController:(UIImagePickerController *)picker didFinishPickingImage:(UIImage *)img editingInfo:(NSDictionary *)editInfo
{
[self dismissModalViewControllerAnimated:YES];
imageView.image = img;
}
I am getting the selected image in this method. But how can I get the image captured by the camera in my imageView without saving it into the gallery? Will I get the image in the same method?