1

In iOS 7, Apple has changed the background of the tabBar, edit screen (Where it says "Drag the icons to organize tabs.") to white.

Problem: This causes a problem for me, in that my selected tabbaritem images are white, therefore you cannot see them on the edit view. It appears as if only the tabbaritems that are currently present (meaning, present in the tabbar) are editable (those icons do show up because they're red in their unselected state).

Questions:

  1. Is there a way to change the background color of the edit view?
  2. Is there a way to change the icon colors only in the edit view?
HaBo
  • 13,999
  • 36
  • 114
  • 206
DrBankHead1
  • 143
  • 1
  • 1
  • 11
  • I've tried to change the item image tint color on tabBar:willBeginCustomizingItems: but it seems that all the items that are located in the more tab are removed from the tabBar.items array at the time this is called, so I cannot change their color. This is such a silly issue! Is Apple trying to prevent the use of white icons in the tabBar? – DrBankHead1 Mar 15 '14 at 19:05

1 Answers1

0

func tabBarController(tabBarController: UITabBarController, willBeginCustomizingViewControllers viewControllers: [AnyObject]) {

        var editView : UIView = tabBarController.view.subviews[1] as! UIView
        editView.backgroundColor = UIColor.iStableDarkBlueTitleHeader()


}

override func viewDidLoad() {

    super.viewDidLoad()
    self.delegate = self

....

  • 1
    You should post an explanation of your code. Additionally, things like and `**` should not be in your code. – Will May 21 '15 at 00:29