diff --git a/tns-core-modules/ui/page/page.ios.ts b/tns-core-modules/ui/page/page.ios.ts index b22858e9f..c36efccbc 100644 --- a/tns-core-modules/ui/page/page.ios.ts +++ b/tns-core-modules/ui/page/page.ios.ts @@ -195,10 +195,11 @@ class UIViewControllerImpl extends UIViewController { const tab = this.tabBarController; if (!owner._presentedViewController && frame && frame.currentPage === owner) { const willSelectViewController = tab && (tab)._willSelectViewController; - if (!willSelectViewController + if (!willSelectViewController || willSelectViewController === tab.selectedViewController) { - let isBack = isBackNavigationFrom(this, owner); - owner.onNavigatingFrom(isBack); + let isBack = isBackNavigationFrom(this, owner); + owner.onNavigatingFrom(isBack); + } } //https://github.com/NativeScript/NativeScript/issues/1201