Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

影响系统方法设置导航条的title的forecolor #41

Closed
tanbinzone opened this issue Sep 5, 2017 · 1 comment
Closed

影响系统方法设置导航条的title的forecolor #41

tanbinzone opened this issue Sep 5, 2017 · 1 comment

Comments

@tanbinzone
Copy link

测试,在集成框架后,不能通过原始方法
NSMutableDictionary *att = [NSMutableDictionary dictionary];
att[NSFontAttributeName] = [UIFont systemFontOfSize:18];
att[NSForegroundColorAttributeName] = UIColorFromRGB(0x00cccc);
[appearance setTitleTextAttributes:att];
或者 [self.navigationController.navigationBar setTitleTextAttributes:@{NSFontAttributeName:[UIFont systemFontOfSize:20]}];
设置title的颜色,但是可以设置font。 找了好久原因。。。。。

@wangrui460
Copy link
Owner

[self wr_setNavBarTitleColor:[UIColor whiteColor]];

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants