mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +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) {
|
if (this._callback) {
|
||||||
this._callback(imageSourceResult);
|
this._callback(imageSourceResult);
|
||||||
if(this._saveToGallery) {
|
if(this._saveToGallery) {
|
||||||
UIImageWriteToSavedPhotosAlbum(imageSourceResult.ios, nil, nil, nil);
|
UIImageWriteToSavedPhotosAlbum(imageSourceResult.ios, null, null, null);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user