Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
navigation stack of NavigationView
-
Can I get the top view? I want to make sure that I have return to the home page.
-
@lpl, this should work:
def at_start(nav_view): nc = nav_view.objc_instance.navigationController() return nc.topViewController() == nc.viewControllers()[0]
See this thread for more comprehensive set of functions.