mirror of
https://github.com/apache/cordova-plugin-camera.git
synced 2025-01-31 20:52:53 +08:00
parent
4e439d85c3
commit
3f8c53f7f3
@ -240,9 +240,13 @@ static NSString* toBase64(NSData* data) {
|
|||||||
|
|
||||||
- (void)repositionPopover:(CDVInvokedUrlCommand*)command
|
- (void)repositionPopover:(CDVInvokedUrlCommand*)command
|
||||||
{
|
{
|
||||||
NSDictionary* options = [command argumentAtIndex:0 withDefault:nil];
|
if (([[self pickerController] pickerPopoverController] != nil) && [[[self pickerController] pickerPopoverController] isPopoverVisible]) {
|
||||||
|
|
||||||
[self displayPopover:options];
|
[[[self pickerController] pickerPopoverController] dismissPopoverAnimated:NO];
|
||||||
|
|
||||||
|
NSDictionary* options = [command argumentAtIndex:0 withDefault:nil];
|
||||||
|
[self displayPopover:options];
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
- (NSInteger)integerValueForKey:(NSDictionary*)dict key:(NSString*)key defaultValue:(NSInteger)defaultValue
|
- (NSInteger)integerValueForKey:(NSDictionary*)dict key:(NSString*)key defaultValue:(NSInteger)defaultValue
|
||||||
|
Loading…
Reference in New Issue
Block a user