I am trying to find a way to avoid this but doesn t seem to find it anywhere
I have a tabbar application in Storyboard
inside one of the tabs I have a navigation bar that goes up to three views in a row
if I go to the third view then switch tabs and come back to the same tabs I see the third view and not the first one … any way to solve this ?
Thanks
implement the below delegate of tab bar in your appDelegate class, dont forget to set delegate of tab bar to your appDelegate or the class in which tab bar is present.
if you are using story board, write the below code in your didFinishLaunching method of your appDelegate, then your delegate method will be called.
this will do your work, let me know if it doesn’t work for you.