From 2b3240ca7bbfe3b3ae8133efe60eb433c7b99560 Mon Sep 17 00:00:00 2001 From: Kirill Zhdanovich Date: Mon, 12 Aug 2013 17:29:01 +0300 Subject: [PATCH] [iOS] iPad title in navigation bar clear shadow --- iOS/offlineguides/GuideVC.mm | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/iOS/offlineguides/GuideVC.mm b/iOS/offlineguides/GuideVC.mm index 3937630..4dfafc3 100644 --- a/iOS/offlineguides/GuideVC.mm +++ b/iOS/offlineguides/GuideVC.mm @@ -69,10 +69,11 @@ self.navigationItem.leftBarButtonItem = [self getCustomButtonWithImage:@"ic_back"]; if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPhone) self.navigationItem.leftBarButtonItem = [self getCustomButtonWithImage:@"ic_back"]; - self.navigationController.navigationBar.titleTextAttributes = [NSDictionary dictionaryWithObject:[UIColor colorWithRed:253.f/255.f - green:241.f/255.f - blue:43.f/255.f - alpha:1.f] forKey:UITextAttributeTextColor]; + self.navigationController.navigationBar.titleTextAttributes = @{UITextAttributeTextColor : [UIColor colorWithRed:253.f/255.f + green:241.f/255.f + blue:43.f/255.f + alpha:1.f], + UITextAttributeTextShadowColor: [UIColor clearColor]}; } - (BOOL)webView:(UIWebView *)webView shouldStartLoadWithRequest:(NSURLRequest *)request