[self.navigationController.navigationBarsetTitleTextAttributes:
[NSDictionarydictionaryWithObjectsAndKeys:
[UIColoryellowColor],
NSForegroundColorAttributeName,
[UIFont fontWithName:@"Arial-Bold" size:0.0],
NSFontAttributeName,
nil]];
[self.navigationController.navigationBarsetTitleTextAttributes:
[NSDictionarydictionaryWithObjectsAndKeys:
[UIColoryellowColor],
NSForegroundColorAttributeName,
[UIFont fontWithName:@"Arial-Bold" size:0.0],
NSFontAttributeName,
nil]];
本文标题:更改navigationBar的title颜色字体
本文链接:https://www.haomeiwen.com/subject/bnmilttx.html
网友评论