summaryrefslogtreecommitdiff
path: root/ios
diff options
context:
space:
mode:
authorSiqi LIU <me@siqi.fr>2013-09-07 22:19:07 +0200
committerSiqi LIU <me@siqi.fr>2013-09-07 22:28:38 +0200
commit0c3b5abb8a1bd2dcc674e68244a870d62e3808dd (patch)
treee8fe3edbd962c7ee5f885bd66cac6b440ef2f6da /ios
parenta28cc686cd49b36b1c938ae7fdbbead7218a596b (diff)
limit UIBarbutton appearance setting in navbar
Change-Id: I0035b091704a1b1ff8476cd35e684f462f701eb2
Diffstat (limited to 'ios')
-rw-r--r--ios/iosremote/iosremote/AppDelegate.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/ios/iosremote/iosremote/AppDelegate.m b/ios/iosremote/iosremote/AppDelegate.m
index 7a7ab0662f20..8e4e12feb8e7 100644
--- a/ios/iosremote/iosremote/AppDelegate.m
+++ b/ios/iosremote/iosremote/AppDelegate.m
@@ -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]