Lets say i have created an extension for editing image which is introduced in iOS8, i have implemented all PHContentEditingController
methods:
- (BOOL)canHandleAdjustmentData:(PHAdjustmentData *)adjustmentData;
- (void)startContentEditingWithInput:(PHContentEditingInput *)contentEditingInput placeholderImage:(UIImage *)placeholderImage;
- (void)finishContentEditingWithCompletionHandler:(void (^)(PHContentEditingOutput *))completionHandler;
but, how can we request for editing an UIimage from HostViewController.Please suggest
This is from Apple:
- (void)startContentEditingWithInput:(PHContentEditingInput *)input
placeholderImage:(UIImage *)placeholderImage
{
UIImage *image = input.displaySizeImage;
....
}
You get the image here.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.