mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 11:42:04 +08:00
Added save to gallery option - IOS only
This commit is contained in:
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user