简体   繁体   中英

Dismiss xib and go to a view controller in a tab bar controller app

In my app I'm using storyboard and XIB files. I created a storyboard using tab bar controller, then by using a button I load a XIB file. Now I want that when I finished operation in XIB file to dismiss this XIB and go to a particular view controller (not the view controller who calls the XIB) embedded in my tab bar controller. There's a way to do that?

你有没有尝试过:

[self.tabBarController setSelectedIndex:<#(NSUInteger)#>] [self.navigationController popToRootViewControllerAnimated:NO];

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM