I am working on a chat application and it has a tab bar in storyboard as root view controller.
stack :
tabbarController(rrot view controller)->view controller(4th index) -> tableViewController -> MyDestinationChatController
Now when the notification comes I want to open the MyDestinationChatController
but when I do:
[self.window.rootViewController.navigationController pushViewController:myDestinationChatControllerObjVC animated:YES]
it does not push the view and just open my tabBarController with first index.
I have Googled the issue but not able to find a proper solution. The available solutions do not work and I am not able to understand how to handle it.
Any help is good.