There is something with my ViewControllers' hierarchy that I don't get. Please take a look at my Storyboard:
What I'm trying to do, is programmatically setting the TabBarItem image associated with the NavigationController in the center of the Bottom Row. I want to do that with a button on the ViewController at Bottom Right.
I tried several things, like
self.navigationController.tabBarItem.image = someValidImage;
and
UITabBarItem *myIcon =[self.navigationController.tabBarController.tabBar.items objectAtIndex:2];
myIcon.image = someValidImage;
but to no avail.
I'm sure it is something obvious, but I'm staring at this quite a while now. Could any of you help me out here?