iphone app - uitabbarcontroller to always select first view in a uinavigationcontroller? -


i building iphone application.

i have tabbarcontroller has 2 tab items. each tabitem links different navigationcontroller. each navigationcontroller links hierarchy of tableviewcontrollers. when user clicks on tab 1, clicks on item in table, clicks tab 2, , clicks on tab1, application shows table looking @ before clicked on tab2.

how app show first table of tab 1 every time clicks on tab 1 instead of showing recent table looking @ before leaving tab1?

i prefer programmatic solution opposed using xcode storyboard. if none exists, storyboard solution fine too.

call poptorootviewcontrolleranimated: on navigationcontroller when tabbarcontroller changes tab being displayed.


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -