标签: xcode cocoa-touch uinavigationbar
如何以编程方式获取UINavigationBar标题的字体,颜色,阴影等?我正在使用Xcode和Cocoa touch。
答案 0 :(得分:2)
NSDictionary * attributes = navigationBar.titleTextAttributes; UIFont * font = [attributes objectForKey:UITextAttributeFont]; ...more pairs exist in attributes...