Go to very beginning of UINavigationController after going some pages deep
-
22-09-2019 - |
문제
I want to go to the very beginning of the UINavigationController
after going deep several pages. If I try the following code, it will only go back one view.
[self.navigationController popViewControllerAnimated:YES];
I want to do this action on a "cancel" button placed on the top right.
해결책
[self.navigationController popToRootViewControllerAnimated:YES];
제휴하지 않습니다 StackOverflow