I am using tab navigation controller
I guess it is tab bar controller, if not, please tell us.
What you have described is the usual behavior when you embed navigation controller inside any of the tab content.
If you want to make what you wrote, you need to write some code to pop back the navigation controller.
Typically, you make some class conform to UITabBarControllerDelegate and implement tabBarController(_:didSelect:).
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: