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

浙公网安备 33010602011771号