在ios7开发中可以用如下代码来修改navigationbar的title字体等属性
UINavigationController *nc = [[UINavigationController alloc] initWithRootViewController:vc];
NSDictionary * dict = [NSDictionary dictionaryWithObject:[UIColor whiteColor] forKey:UITextAttributeTextColor];
nc.navigationBar.titleTextAttributes = dict;
本文介绍如何在iOS7开发中使用代码自定义导航栏的标题样式,包括字体颜色等属性。
248

被折叠的 条评论
为什么被折叠?



