Merge pull request #738 from lazydan/master
(ios): Fix incorrect view height from the second open time
This commit is contained in:
commit
91ebdf2776
@ -1071,6 +1071,7 @@ BOOL isExiting = FALSE;
|
|||||||
// Run later to avoid the "took a long time" log message.
|
// Run later to avoid the "took a long time" log message.
|
||||||
dispatch_async(dispatch_get_main_queue(), ^{
|
dispatch_async(dispatch_get_main_queue(), ^{
|
||||||
isExiting = TRUE;
|
isExiting = TRUE;
|
||||||
|
lastReducedStatusBarHeight = 0.0;
|
||||||
if ([weakSelf respondsToSelector:@selector(presentingViewController)]) {
|
if ([weakSelf respondsToSelector:@selector(presentingViewController)]) {
|
||||||
[[weakSelf presentingViewController] dismissViewControllerAnimated:YES completion:nil];
|
[[weakSelf presentingViewController] dismissViewControllerAnimated:YES completion:nil];
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user