02 2012 档案

摘要:XCode4.2.1 使用NavigationController实现View切换现在网上有很多关于NavigationController实现页面之间导航,但是大部分都是老版本的实现方式,基于Window base application 模板实现,但新版本XCode 4.2.1没有这个模板,对于新手就算拿到源代码也不知道如何下手。老版本实现的NavigationController项目源代码 但是新版的没有这个模板比如Single view application的项目直接生存ViewController不带Window和 mainWindow.xib文件 修改AppDelegate... 阅读全文
posted @ 2012-02-16 16:56 阿新 阅读(9949) 评论(5) 推荐(6) 编辑
摘要:1.AddInfo *control = [[AddInfo alloc] init]; [self presentModalViewController:control animated:YES]; [control release]; 描述:通过事件进行跳转 [self dismissModalViewControllerAnimated:YES]; 描述:通过事件进行返回。 2.[self.navigationController pushViewController:subTableViewController animated:YES]; 描述:通过 NSNavigat... 阅读全文
posted @ 2012-02-14 16:26 阿新 阅读(763) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示