Permalink
Browse files

setting the title removes logo images

  • Loading branch information...
1 parent 7cecda7 commit a86fbf06c01d60f62a5c14641d532411783b5d93 @DivineDominion DivineDominion committed Sep 16, 2011
Showing with 3 additions and 0 deletions.
  1. +3 −0 HelloPhoneGap1/Plugins/NativeControls/NativeControls.m
@@ -451,6 +451,9 @@ -(void) setNavBarTitle:(NSMutableArray *)arguments withDict:(NSMutableDictionary
{
NSString *name = [arguments objectAtIndex:0];
[navBarController navItem].title = name;
+
+ // Reset otherwise overriding logo reference
+ [navBarController navItem].titleView = NULL;
}
}

0 comments on commit a86fbf0

Please sign in to comment.