Merge branch 'release/6_21' into 'develop'

Release/6 21

See merge request BPHV_MIPS/mvm_core_ui!155
This commit is contained in:
Pan, Xinlei (Ryan) 2019-10-21 15:34:13 -04:00
commit 0b1a1b5d73

View File

@ -67,11 +67,13 @@
}
- (void)dismiss {
if (self.presentingViewController) {
[[MVMCoreNavigationHandler sharedNavigationHandler] dismissViewController:self animated:YES];
} else if (self.navigationController) {
[[MVMCoreNavigationHandler sharedNavigationHandler] popViewController:self animated:YES];
}
[MVMCoreDispatchUtility performBlockOnMainThread:^{
if (self.presentingViewController) {
[[MVMCoreNavigationHandler sharedNavigationHandler] dismissViewController:self animated:YES];
} else if (self.navigationController) {
[[MVMCoreNavigationHandler sharedNavigationHandler] popViewController:self animated:YES];
}
}];
}
- (BOOL)isVisibleViewController {