Kaydet (Commit) 0c3b5abb authored tarafından Siqi LIU's avatar Siqi LIU

limit UIBarbutton appearance setting in navbar

Change-Id: I0035b091704a1b1ff8476cd35e684f462f701eb2
üst a28cc686
......@@ -42,7 +42,7 @@ blue:((float)(rgbValue & 0xFF))/255.0 alpha:1.0]
NSDictionary *attributes = [NSDictionary dictionaryWithObjects:
[NSArray arrayWithObjects: [UIFont boldSystemFontOfSize:15], kTintColor, [UIColor clearColor], nil]
forKeys: [NSArray arrayWithObjects:UITextAttributeFont, UITextAttributeTextColor, UITextAttributeTextShadowColor, nil]];
[[UIBarButtonItem appearance] setTitleTextAttributes:attributes
[[UIBarButtonItem appearanceWhenContainedIn:[UINavigationBar class], nil] setTitleTextAttributes:attributes
forState:UIControlStateNormal];
attributes = [NSDictionary dictionaryWithObjects:
[NSArray arrayWithObjects: kAppTextFont, [UIColor grayColor], [UIColor clearColor], nil]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment