2016-08-18 81 views
0

我已經設置了NavigationBarBarTintColor whiteColor。 如NavigationBarBarTintColor設置問題

[[UINavigationBar appearance] setBarTintColor:[UIColor whiteColor]]; 

但似乎喜歡在屏幕上顯示黑色。 它有什麼問題? 我嘗試了很多方法來解決這個問題,但我無法解決這個問題。

+0

你在哪裏添加了這個 –

回答

0

在AppDelegate didFinishLaunchingWithOptions方法中使用您的代碼。它在我身邊工作。