I'm trying to programatically select/change the tab of the UITabViewController.
I tried doing it via:
self.tabBarController.selectedIndex = 2;
This looks to be the way that I should do it, but it doesn't work. I thought that maybe the self.tabBarController returns a read only object (I sorta remember reading that somewhere), but I'm not sure how to get it to work.
Any help is appreciated!