tags:

views:

137

answers:

2

photoPicker.sourceType = UIImagePickerControllerSourceTypeCamera; //or album photoPicker.allowsImageEditing = YES;

When i write above syntax then i get warning allowsImageEditing is depricated in sdk 3.1.

+3  A: 

I think the property is now just 'allowsEditing'

blindJesse
+5  A: 

You may want to become acquainted with the IPhone Dev Center. The UIImagePickerController is very explicit about what to do here.

allowsImageEditing

A Boolean value indicating whether the user is allowed to edit a selected image. (Deprecated. Use allowsEditing instead.)

Brandon Bodnár
You *really* want to get acquainted with the iPhone Dev Center. Apple has the best docs on Earth.
Kevin Conner