When the user triggers a tabbar item I want to display present a modal view controller.
I have something working but it's probably not the cleanest way to do it. It also prevents the UITabBarItem to be in selected state.
What I did is setting this method to false and in the that method body presenting the view controller (via the RootViewController).
- (BOOL)tabBarController:(UITabBarController *)tabBarController shouldSelectViewController:(UIViewController *)viewController{
UINavigationController *nvc = (UINavigationController*)viewController;
Do you guys have any idea of a cleaner implementation of this that would allow the TabBarItem to be highlighted ?