-1

Is there any Image API to provide all information to user while he capture a photo in iPhone? and also I want to develop this functionality in iPhone so please tell me any link or any idea you have.

cwallenpoole
  • 79,954
  • 26
  • 128
  • 166
Nikunj Jadav
  • 3,417
  • 7
  • 38
  • 54

1 Answers1

1

You can use UIImagePickerController to provide user with the camera to take the photo. You can get the help from here:

https://stackoverflow.com/questions/1282830/uiimagepickercontroller-uiimage-memory-and-more-closed

and here:

How to take picture from Camera & saved in Photo Gallery by programmatically?

When the user chooses to 'Use' the photo and you get the callback to your delegate method imagePickerController:didFinishPickingMediaWithInfo: you can get the info about that photo in the info dictionary using the key UIImagePickerControllerMediaMetadata like this:

[info objectForKey:UIImagePickerControllerMediaMetadata];

You can use NSLog() to see what values it returns and then get them accordingly and display them as you like.

Community
  • 1
  • 1
Bushra Shahid
  • 3,579
  • 1
  • 27
  • 37