Open tangamampilia opened 11 years ago
Hi, I noticed a bug with the new iOS7. If you try to show up the pickers then nothing happens. Add this lines to fix it in the AirImagePicker.m:
if (rootViewController == nil) { NSArray *windows = [UIApplication sharedApplication].windows; for (int i=0; i<windows.count; i++) { if ([[windows objectAtIndex:i] isKindOfClass:[UIWindow class]]) { rootViewController = ((UIWindow *)[windows objectAtIndex:i]).rootViewController; break; } } }
Before this line:
if (sourceType == UIImagePickerControllerSourceTypeCamera || UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPhone)
After that, we need to recompile the ANE. Thanks.
Hi, I noticed a bug with the new iOS7. If you try to show up the pickers then nothing happens. Add this lines to fix it in the AirImagePicker.m:
Before this line:
After that, we need to recompile the ANE. Thanks.