开发者

How can I popViewController to rootViewController?

开发者 https://www.devze.com 2023-02-12 12:08 出处:网络
Let me specific. I have three开发者_如何学Python XIBs. From the first XIB i used pushViewController and got into the second. From the button click in second XIB i got into the third. The thing is, On

Let me specific. I have three开发者_如何学Python XIBs. From the first XIB i used pushViewController and got into the second. From the button click in second XIB i got into the third. The thing is, On the click of Cancel button in third ViewController I have to go the first XIB. How is this possible? I am stuck there. Help me please. I used the navigationController to push the viewControllers. I have already used the popToRootViewController: but it popped only to the second XIB.


use this

[self.navigationController popToRootViewController:YES];

0

精彩评论

暂无评论...
验证码 换一张
取 消