日々精進

新しく学んだことを書き留めていきます

2014-08-16から1日間の記事一覧

UITabBarItemの文字色等を変更する

iOS

UIAppearanceを使えば変更できる。 例は以下。 [[UITabBarItem appearance] setTitleTextAttributes:@{NSForegroundColorAttributeName:[UIColor whiteColor]} forState:UIControlStateNormal]; 参考:uitabbar - change tabbar text color,iPhone - Stack O…