问题
I have a UITabBarController
interface with 4 tabs. Each tab has a UINavigationController
. How would I return to the topmost UIViewController
in each UINavigationController
whenever a tab bar button is pressed?
回答1:
-popToRootViewControllerAnimated
来源:https://stackoverflow.com/questions/4199758/return-to-top-of-uinavigationcontroller-stack-when-clicking-a-tab