我試過兩種方法讓UITabbar
變黑,但都不行。任何想法爲什麼?如何使UITabbar變黑?
tabBarController.tabBar.backgroundColor = [UIColor blackColor];
tabBarController.tabBar.tintColor = [UIColor blackColor];
我試過兩種方法讓UITabbar
變黑,但都不行。任何想法爲什麼?如何使UITabbar變黑?
tabBarController.tabBar.backgroundColor = [UIColor blackColor];
tabBarController.tabBar.tintColor = [UIColor blackColor];
這應該這樣做。
tabBarController.tabBar.barTintColor = [UIColor blackColor];
tabBarController.tabBar.backgroundColor = UIColor.black
使用'tabBarController.tabBar.barTintColor' – deadbeef