I combine tabbarcontroller with navigationcontroller.
I set navigationitem title by using,
self.tabBarController?.navigationItem.title = "first"
for first page
self.tabBarController?.navigationItem.title = "second"
for second page,and the title showed.
But when I switch to second page, and switch back to first page, the title still display as second.It doesn't changed back to first.
How can i fix it?