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:
@@ -86,6 +86,7 @@ export var takePicture = function (options): Promise<any> {
|
||||
var reqWidth = 0;
|
||||
var reqHeight = 0;
|
||||
var keepAspectRatio = true;
|
||||
var saveToGallery = true;
|
||||
if (options) {
|
||||
reqWidth = options.width || 0;
|
||||
reqHeight = options.height || reqWidth;
|
||||
|
||||
Reference in New Issue
Block a user