Added save to gallery option - IOS only

This commit is contained in:
victorsosa
2016-05-06 17:08:34 -04:00
parent 891d927293
commit 3120bf0683

View File

@ -62,7 +62,7 @@ class UIImagePickerControllerDelegateImpl extends NSObject implements UIImagePic
if (this._callback) {
this._callback(imageSourceResult);
if(this._saveToGallery) {
UIImageWriteToSavedPhotosAlbum(imageSourceResult, nil, nil, nil);
UIImageWriteToSavedPhotosAlbum(imageSourceResult.ios, nil, nil, nil);
}
}
}