I can easily enable and disable the TabBarItems
in my App which have no values or content. Works like a charm. I do want to keep all Tabs in order to show that this feature or content will be available on other views throughout the App because this special view is dynamically filled with content over 30times.
The TabBarController
is subclassed in my "DetailViewController
". Within this class I do check if any content exists and lazy-load the contents by passing on the viewWillAppear
event (preventing loading non existing tab contents and checking for internet connections etc.). Works fast and good.
The problem is much more an design optical one. Loading the views the first time enabling and disabling works, but the pictures are not "dimmed". Loading the second view and going through the same procedure does "dim" the disabled tabs...what am I missing?