标签:pop iss 返回 div sel class 相互 create root
一、通过导航控制器UINavigationController跳转
[self.navigationController pushViewController:newController animated:YES]; //跳转到下一页面
[self.navigationController popViewControllerAnimated:YES]; //返回上一页面
[ self .navigationController popToRootViewControllerAnimated: YES ]; //多次跳转后,返回根控制器,即最开始的页面
二、直接跳转
[ self presentViewController:createView animated: YES completion:nil]; //跳转到下一页面
[ self dismissViewControllerAnimated: YES completion: nil ];//返回上一个界面
标签:pop iss 返回 div sel class 相互 create root
原文地址:http://www.cnblogs.com/xsphehe/p/6293934.html