开发者

How should I do to pop all or Specific Number viewsController?

开发者 https://www.devze.com 2022-12-11 05:10 出处:网络
[self.navigationController popViewControllerAnimated:YES]; This code is to pop only one viewController.
[self.navigationController popViewControllerAnimated:YES];

This code is to pop only one viewController.

How should I do to pop all or Specific Number viewsCo开发者_如何学运维ntroller?


You can use popToRootViewControllerAnimated: (to pop all) or popToViewController:animated: to pop to a specific view controller in the navigation stack.

0

精彩评论

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