27

Is there any way to define the crop area rect using the camera image picker?

Cœur
  • 37,241
  • 25
  • 195
  • 267
dan
  • 5,377
  • 13
  • 39
  • 44

1 Answers1

31

Unfortunately, no.

You have to implement a custom cropping GUI to get anything other than the default, as stated in the Camera Programming Topics for iOS:

"When using built-in editing controls, the image picker controller enforces certain options. For still images, the picker enforces a square cropping as well as a maximum pixel dimension. For movies, the picker enforces a maximum movie length and resolution. If you want to let the user edit full-size media, or specify custom cropping, you must provide your own editing UI."

http://developer.apple.com/library/ios/#documentation/AudioVideo/Conceptual/CameraAndPhotoLib_TopicsForIOS/Articles/PickinganItemfromthePhotoLibrary.html#//apple_ref/doc/uid/TP40010408-SW1

Cœur
  • 37,241
  • 25
  • 195
  • 267
Yetanotherjosh
  • 2,000
  • 24
  • 35