//設置導航欄字體大小顏色
[self.navigationController.navigationBar setTitleTextAttributes:[NSDictionary dictionaryWithObjectsAndKeys:
[UIColor colorWithRed:44.0f/255.0f green:141.0f/255.0f blue:228.0f/255.0f alpha:1.0],
NSForegroundColorAttributeName, [UIFont systemFontOfSize:18*kViewWidth/320], NSFontAttributeName, nil]];
//設置導航欄背景色
self.navigationController.navigationBar.barTintColor =
[UIColor colorWithRed:230.0f/255.0f green:230.0f/255.0f blue:230.0f/255.0f alpha:1.0];
ios導航欄字體顏色及背景色設置rgb
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.