AFPhotoEditorControllerDelegate Protocol Reference
Conforms to | NSObject |
Declared in | AFPhotoEditorController.h |
Overview
Implement this protocol to be notified when the user is done using the editor. You are responsible for dismissing the editor when you (and/or your user) are finished with it.
Tasks
-
– photoEditor:finishedWithImage:
Implement this method to be notified when the user presses the “Done” button.
-
– photoEditorCanceled:
Implement this method to be notified when the user presses the “Cancel” button.
Instance Methods
photoEditor:finishedWithImage:
Implement this method to be notified when the user presses the “Done” button.
- (void)photoEditor:(AFPhotoEditorController *)editor finishedWithImage:(UIImage *)image
Parameters
- editor
The photo editor controller.
- image
The edited image.
Discussion
The edited image is passed via the image
parameter. The size of this image may
not be equivalent to the size of the input image, if the input image is larger
than the maximum image size supported by the SDK. Currently (as of 9/19/12), the
maximum size is {1024.0, 1024.0} pixels on all devices.
Declared In
AFPhotoEditorController.h