您的位置:首页 > 其它

navigationbar的title字体大小、颜色、还有其他方面的修改

2014-02-28 09:08 417 查看
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.navigationController.navigationBar.titleTextAttributes=dict;
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐