修改navigationBar title的背景颜色
这个方法在iOS5以后可以这样用
navigationController.navigationBar.titleTextAttributes = [NSDictionary dictionaryWithObject:[UIColor yellowColor] forKey:UITextAttributeTextColor];
通过以下key值修改起属性
UITextAttributeFont
UITextAttributeTextShadowOffset
UITextAttributeTextShadowColor