码迷,mamicode.com
首页 > 移动开发 > 详细

IOS 页面之间的跳转

时间:2014-11-27 12:32:11      阅读:383      评论:0      收藏:0      [点我收藏+]

标签:blog   io   os   使用   sp   on   div   log   bs   

1.UINavigationController
popToViewController 对应popViewControllerAnimated:
也可以使用:

[self.navigationController popToRootViewControllerAnimated:YES]

 [self.navigationController popToViewController:vc animated:YES];

 


UIViewControllerA *aVC = [UIViewControllerA alloc] init]l;
[self.navigationController popToViewController: aVC  animated:YES];
[self.navigationController popViewControllerAnimated:YES]


2.
presentModalViewControllerAnimated对应dismissModalViewControllerAnimated

 

IOS 页面之间的跳转

标签:blog   io   os   使用   sp   on   div   log   bs   

原文地址:http://www.cnblogs.com/apem/p/4125936.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!