Merge pull request #6976 from NativeScript/myankov/merge-release-master

fix(ios): disable default tab reselect behavior (#6968)
This commit is contained in:
Martin Yankov
2019-03-05 10:01:29 +02:00
committed by GitHub

View File

@@ -90,6 +90,10 @@ class UITabBarControllerDelegateImpl extends NSObject implements UITabBarControl
owner._handleTwoNavigationBars(backToMoreWillBeVisible);
}
if ((<any>tabBarController).selectedViewController === viewController) {
return false;
}
(<any>tabBarController)._willSelectViewController = viewController;
return true;