When I am in another view controller and I popToRootViewController
on click of button. But i am getting the black bar on the bottom which is above the tabBar.
I have used following code to popToRootViewController
.
self.tabBarController.selectedIndex = 0;
[self.navigationController popToRootViewControllerAnimated:YES];