Forum Archive

Need some UI demo code

wolf71

The new UI lib is very powerful. but need more demo code.

  1. How to add a timer on ui,so can get a stock price list every 30S.
  2. How to add more subview, so can switch subview when click a tab.
filippocld223

I think you should check the Pythonista forums where we talk more of ui module

bitbucket158

You can switch between sub views using the View add_subview and remove_subview methods.

So you could start with subview 1 active then remove it and add subview 2 to replace it.