mirror of
https://github.com/apache/cordova-plugin-screen-orientation.git
synced 2026-05-31 00:00:04 +08:00
v1.4.0 release
This commit is contained in:
@@ -73,12 +73,12 @@ SOFTWARE.
|
||||
vc.view.backgroundColor = [UIColor clearColor];
|
||||
// vc.view.alpha = 0.0;
|
||||
vc.view.opaque = YES;
|
||||
|
||||
#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 80000
|
||||
|
||||
#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 80000
|
||||
// This stops us getting the black application background flash, iOS8
|
||||
vc.modalPresentationStyle = UIModalPresentationOverFullScreen;
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
dispatch_async(dispatch_get_main_queue(), ^{
|
||||
[self.viewController presentViewController:vc animated:NO completion:^{
|
||||
// added to support iOS8 beta 5, @see issue #19
|
||||
|
||||
Reference in New Issue
Block a user