弹出导航视图控制器的顶部

lav*_*voy 1 iphone uinavigationcontroller

我正在尝试设置导航视图,用户可以在其中输入设置.一旦设置在第3级完成(在按钮按下导航栏之后),我希望将导航视图弹回到根目录.我怎样才能做到这一点?

Ben*_*ieb 5

使用[UINavigationController popToRootViewControllerAnimated:animated];,animatedBOOL 在哪里.