Bug Fix - Failed to send photos which are not stored on the local device

and must be downloaded from iCloud.

#1654
This commit is contained in:
Giom Foret
2017-11-17 14:33:24 +01:00
parent 8c0919d8f1
commit 7b07f5bc05
5 changed files with 181 additions and 79 deletions
@@ -29,10 +29,11 @@
Tells the delegate that the user select an image.
@param mediaPickerController the `MediaPickerViewController` instance.
@param image the UIImage hosting the image data to send.
@param imageURL the url that references the image in the file system or in the AssetsLibrary framework.
@param imageData the full-sized image data of the selected image.
@param mimetype the image MIME type (nil if unknown).
@param isPhotoLibraryAsset tell whether the image has been selected from the user's photos library or not.
*/
- (void)mediaPickerController:(MediaPickerViewController *)mediaPickerController didSelectImage:(UIImage*)image withURL:(NSURL*)imageURL;
- (void)mediaPickerController:(MediaPickerViewController *)mediaPickerController didSelectImage:(NSData*)imageData withMimeType:(NSString *)mimetype isPhotoLibraryAsset:(BOOL)isPhotoLibraryAsset;
/**
Tells the delegate that the user select a video.