navigationController.navigationBar.titleTextAttributes
字体颜色
navigationController.navigationBar.titleTextAttributes = [NSDictionary dictionaryWithObject:[UIColor yellowColor] forKey:UITextAttributeTextColor];
更多的属性:
UITextAttributeFont 字号
UITextAttributeTextShadowOffset 影音大小
UITextAttributeTextShadowColor 影印颜色
时间: 2024-10-11 05:13:54