所以這裏是我在我的應用程序中設置的東西。我有一個UINavigationController
其UITabBarController
作爲rootViewController
。 rootViewController
有3個標籤。我已經嘗試了許多不同的方式來設置標題,範圍從:無法設置UINavigationController標題
self.title = @"title";
self.navigationController.title = @"title";
self.navigationItem.title = @"title";
沒有它的工作原理
這是爲什麼?
UPDATE:
一些奇怪的原因self.parentViewController.title = @"Map";
實際工作....
看看http://stackoverflow.com/questions/6644555/uitabbaritem-title-vs-uinavigationcontroller-title解決你的問題。 – Manny