diff --git a/src/ios/CDVCamera.m b/src/ios/CDVCamera.m index 30e5173..6eaa79d 100644 --- a/src/ios/CDVCamera.m +++ b/src/ios/CDVCamera.m @@ -185,7 +185,7 @@ static NSString* toBase64(NSData* data) { { NSInteger value = defaultValue; - NSNumber* val = [self valueForKey:key]; // value is an NSNumber + NSNumber* val = [dict valueForKey:key]; // value is an NSNumber if (val != nil) { value = [val integerValue];