mirror of
https://github.com/apache/cordova-plugin-screen-orientation.git
synced 2025-05-05 01:32:59 +08:00
Merge pull request #34 from gbenvenuti/iosDelayBlock
Resolves #33 reverted to use delayed vc dismissal
This commit is contained in:
commit
080aa28f94
@ -90,6 +90,10 @@ Wraps the com.blackberry.app plugin functions, auto installed as a dependancy.
|
|||||||
|
|
||||||
#Changelog
|
#Changelog
|
||||||
|
|
||||||
|
##1.3.2
|
||||||
|
|
||||||
|
* [#33](https://github.com/yoik/cordova-yoik-screenorientation/issues/33) iOS8 Delay Block
|
||||||
|
|
||||||
##1.3.0
|
##1.3.0
|
||||||
|
|
||||||
* [#23](https://github.com/yoik/cordova-yoik-screenorientation/issues/23) iOS8 flicker
|
* [#23](https://github.com/yoik/cordova-yoik-screenorientation/issues/23) iOS8 flicker
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0"
|
<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0"
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
id="net.yoik.cordova.plugins.screenorientation"
|
id="net.yoik.cordova.plugins.screenorientation"
|
||||||
version="1.3.1">
|
version="1.3.2">
|
||||||
|
|
||||||
<name>Screen Orientation</name>
|
<name>Screen Orientation</name>
|
||||||
<description>Adds Screen Orientation API lock and unlock functions to the global screen object in android, iOS and BB10.</description>
|
<description>Adds Screen Orientation API lock and unlock functions to the global screen object in android, iOS and BB10.</description>
|
||||||
|
@ -77,8 +77,12 @@ SOFTWARE.
|
|||||||
vc.modalPresentationStyle = UIModalPresentationOverFullScreen;
|
vc.modalPresentationStyle = UIModalPresentationOverFullScreen;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
[self.viewController presentViewController:vc animated:NO completion:nil];
|
[self.viewController presentViewController:vc animated:NO completion:^{
|
||||||
|
// added to support iOS8 beta 5, @see issue #19
|
||||||
|
dispatch_after(0, dispatch_get_main_queue(), ^{
|
||||||
[self.viewController dismissViewControllerAnimated:NO completion:nil];
|
[self.viewController dismissViewControllerAnimated:NO completion:nil];
|
||||||
|
});
|
||||||
|
}];
|
||||||
}
|
}
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user