Reputation: 11839
I am getting a separator line in UINavigation bar, how can I remove this?
Any help will be appreciated. Thanks.
Updated - Attached full screen screen-shot.
Upvotes: 1
Views: 1770
Reputation: 3262
In case you're targeting for iOS 5 and newer, you can set an arbitrary background image for UINavigationBar like this
[navBar setBackgroundImage:[UIImage imageNamed:@"navBarBg"] forBarMetrics:UIBarMetricsDefault];
If you need to support iOS 4, try subclassing UINavigationBar and overriding drawRect:
method.
Upvotes: 1