Open view in another tab - iphone
I want to allow the user to click on a button in "tab A" and have it move to "tab B". I开发者_开发知识库s this possible?
Thanks, William
"removeFromSuperview" then "addToSubview".
Thanks for the responses, I actually discovered that this could be done using:
self.tabBarController.selectedIndex = numberOfTabToPopTo;
Using the below code to then tidy the controller up leaving:
[self.navigationController popToRootViewControllerAnimated:NO];
精彩评论