From a19ba493b3685dd35e65771b6ad4d72dbc39ce4f Mon Sep 17 00:00:00 2001 From: zhaidi Date: Sat, 30 Mar 2024 23:18:10 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=8E=8B=E7=BC=A9=E6=AF=94?= =?UTF-8?q?=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/ios/classes/CustomCamera.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ios/classes/CustomCamera.m b/src/ios/classes/CustomCamera.m index 6fcfd15..1c6793d 100755 --- a/src/ios/classes/CustomCamera.m +++ b/src/ios/classes/CustomCamera.m @@ -40,7 +40,7 @@ static NSString* toBase64(NSData* data) { { CDVPictureOptions* pictureOptions = [[CDVPictureOptions alloc] init]; - pictureOptions.quality = [command argumentAtIndex:0 withDefault:@(50)]; + pictureOptions.quality = [command argumentAtIndex:0 withDefault:@(100)]; pictureOptions.destinationType = [[command argumentAtIndex:1 withDefault:@(DestinationTypeFileUri)] unsignedIntegerValue]; pictureOptions.sourceType = [[command argumentAtIndex:2 withDefault:@(UIImagePickerControllerSourceTypeCamera)] unsignedIntegerValue];