How to programmatically display image editing controls in iPhone

I am working on one application that includes an iPhone camera and a photo gallery. I have an idea to do some functionality for my application such as crop and rotation. I have searched the internet for some Apple related stuff.

But I cannot get the relevant information related to this. I'm not sure if it is possible or not to do something like this when we select an image from the gallery and click the Apple edit button directly showing the image editing controls such as brightness and crop rotation. If I want to implement the same in my application, it is possible, or I need to migrate to third party controls. Here is an image to show the toy, so you can understand exactly how I need the controls in the camera.

enter image description here

+3


source to share


1 answer


You can enable image editing functionality in UIImagePickerController by calling

[imagePicker setAllowsEditing:YES];// imagePicker is UIImagePickerController instance

      



And later access the edited picture using the UIImagePickerControllerEditedImage key.

If you want to provide editing functions other than UIImagePickerController, you must either implement them yourself or use some third party solution. For example this open source library

0


source







All Articles