navigation stack of NavigationView
Can I get the top view? I want to make sure that I have return to the home page.
mikael last edited by
@lpl, this should work:
def at_start(nav_view): nc = nav_view.objc_instance.navigationController() return nc.topViewController() == nc.viewControllers()
See this thread for more comprehensive set of functions.