0
点赞
收藏
分享

微信扫一扫

改变self.title的字体颜色、大小等

343d85639154 2022-08-07 阅读 74


NSDictionary *dict = [NSDictionary dictionaryWithObjects:[NSArray arrayWithObjects:[UIColor colorWithRed:200 green:200 blue:200 alpha:1],[UIFont boldSystemFontOfSize:20.0f],[UIColor colorWithWhite:0.0 alpha:1], nil] forKeys:[NSArray arrayWithObjects:UITextAttributeTextColor,UITextAttributeFont,UITextAttributeTextShadowColor, nil]];
        self.navigationBar.titleTextAttributes = dict;


举报

相关推荐

0 条评论