29,027
社区成员
发帖
与我相关
我的任务
分享
[[UITabBarItem appearance] setTitleTextAttributes:
[NSDictionary dictionaryWithObjectsAndKeys:
[UIColor blackColor], UITextAttributeTextColor,
[UIFont fontWithName:@"ProximaNova-Semibold" size:0.0], UITextAttributeFont,
nil]
forState:UIControlStateHighlighted];
[[UITabBarItem appearance] setTitleTextAttributes:
[NSDictionary dictionaryWithObjectsAndKeys:
[UIColor grayColor], UITextAttributeTextColor,
[UIFont fontWithName:@"ProximaNova-Semibold" size:0.0], UITextAttributeFont,
nil]
forState:UIControlStateNormal];
:[UIFont fontWithName:@"Helvetica" size:17.0]
[quote=引用 4 楼 hugaohansi 的回复:] 是不是 UITabBarItem要用真正的变量代替?
[quote=引用 4 楼 hugaohansi 的回复:] 是不是 UITabBarItem要用真正的变量代替?
是不是 UITabBarItem要用真正的变量代替?
[[UITabBarItem appearance] setTitleTextAttributes: [NSDictionary dictionaryWithObjectsAndKeys: [UIColor blackColor], UITextAttributeTextColor, [UIFont fontWithName:@"ProximaNova-Semibold" size:0.0], UITextAttributeFont, nil] forState:UIControlStateHighlighted]; [[UITabBarItem appearance] setTitleTextAttributes: [NSDictionary dictionaryWithObjectsAndKeys: [UIColor grayColor], UITextAttributeTextColor, [UIFont fontWithName:@"ProximaNova-Semibold" size:0.0], UITextAttributeFont, nil] forState:UIControlStateNormal];