I would like to change the title in the current view which it is being displayed. It is originally set in viewDidLoad, but i would like to change it after that. I have tried changing the title in viewWillAppear using the following;
`` title = "name8" navigationItem.title = "name7" self.title = "name1" navigationController?.navigationItem.title = "name2" self.navigationController?.navigationBar.topItem?.title = "name3" navcontroller.title = "name4" navcontroller.navigationBar.topItem?.title = "name5" detailVC.navigationItem.title = "name6" // <UINavigationItem: 0x101984210>
but none of these has changed the original title. Am I missing something?`
`` title = "name8" navigationItem.title = "name7" self.title = "name1" navigationController?.navigationItem.title = "name2" self.navigationController?.navigationBar.topItem?.title = "name3" navcontroller.title = "name4" navcontroller.navigationBar.topItem?.title = "name5" detailVC.navigationItem.title = "name6" // <UINavigationItem: 0x101984210>
but none of these has changed the original title. Am I missing something?`