2

how to create a transparent tab bar and navigation bar in ios 7 ? i tried setting

[[UITabBar appearance]setBarTintColor:[UIColor clearColor]];

but then a translucent tab bar appears. then i tried setting the translucency property of tab bar to NO

[self.tabBarController.tabBar setTranslucent:NO];

also the tab button is always highlighted in blue color. Even though i put different color images . has anyone had similar experiences ? observed only in ios7

Dhanesh KM
  • 449
  • 2
  • 7
  • 18
  • Please re-word question. It sounds like you are dismissing the results you were looking for. But whatever your meaning, you might try doing a search for iOS 7 bar color. – bilobatum Oct 15 '13 at 19:10
  • This question has been answered here: http://stackoverflow.com/a/18969325/1047520 – Philippe Nov 06 '13 at 16:38

1 Answers1

3

By default the selected tab button item has highlighted blue color and unselected has gray color. This behavior is a independent of tool bar item image color.

Example to change the selection color for tab Bar item

self.tabController.tabBar.tintColor = [UIColor redColor];
Rocker
  • 1,269
  • 7
  • 15