AFPhotoEditorController Class Reference
Inherits from | UIViewController |
Declared in | AFPhotoEditorController.h |
Overview
This class encapsulates the Aviary SDK’s photo editor. Present this view controller to provide the user with a fast and powerful image editor. Be sure that you don’t forget to set the delegate property to an object that conforms to the AFPhotoEditorControllerDelegate protocol.
Tasks
-
delegate
The photo editor’s delegate.
property -
session
An AFPhotoEditorSession instance that tracks user actions within the photo editor. This can be used for high-resolution processing.
property -
– initWithImage:options:
Deprecated
-
– initWithImage:
Initialize the photo editor controller with an image.
-
+ versionString
The SDK version number.
Properties
delegate
The photo editor’s delegate.
@property (nonatomic, weak) id<AFPhotoEditorControllerDelegate> delegate
Declared In
AFPhotoEditorController.h
session
An AFPhotoEditorSession instance that tracks user actions within the photo editor. This can be used for high-resolution processing.
@property (nonatomic, strong, readonly) AFPhotoEditorSession *session
Declared In
AFPhotoEditorController.h
Instance Methods
initWithImage:
Initialize the photo editor controller with an image.
- (id)initWithImage:(UIImage *)image
Parameters
- image
The image to edit.
Declared In
AFPhotoEditorController.h
initWithImage:options:
Deprecated
- (id)initWithImage:(UIImage *)image options:(NSDictionary *)options
Parameters
- image
The image to edit.
- options
(optional) Additional configuration options. See AFPhotoEditorControllerOptions for more information.
Discussion
This method was previously used initialize the photo editor controller with an image along with configuration options. Now, please initialize with initWithImage: and use AFPhotoEditorCustomization to configure the options.
Declared In
AFPhotoEditorController.h