GenericUser last edited by
I would like to do some stuff with NavigationView, but I have problems of managing the view stack. I know the NavigationController from iOS, but I can't find ways to access subviews in the initial view of the stack (which you can edit by using the Ui editor) in Pythonista. How can I access subviews in the root view of NavigationView? Can I place bar button items in the NavigationBar? Otherwise, awesome stuff. Pushing a table view and having it use its own class works fine so far.
ccc last edited by
The ui-tutorial has a NavView example.
GenericUser last edited by GenericUser
Thanks. But the tutorial still does not give insights on how to access the root views' sub views. However, good start to know how to place bar button items.
JonB last edited by
you cannot (easily) access the views pushed to a navigationview (without perhaps using objc). You use push or pop to add/remove views.
The idea generally is that a view should be self sufficient, so if the user pushes a button, you would use sender to know where you are.
For some alternate ways to handle views coming/going, see
TutorialDoctor last edited by
I have just posted a navigation view tutorial