2015年5月20日

摘要: 首选创建一个新的项目,并添加一个MainViewController的Class文件打开MainViewController.h文件[cpp]view plaincopy @interfaceMainViewController:UIViewController @property(nonato... 阅读全文
posted @ 2015-05-20 23:52 Aggie1024 阅读(86) 评论(0) 推荐(0)
摘要: 1、RootView 跳到SecondView首先我们需要新一个View。新建SecondView,按住Command键然后按N,弹出新建页面,我们新建SecondView2、为Button 添加点击事件,实现跳转在RootViewController.xib中和RootViewController... 阅读全文
posted @ 2015-05-20 09:34 Aggie1024 阅读(114) 评论(0) 推荐(0)
摘要: 1、UINavigationController导航控制器如何使用UINavigationController可以翻译为导航控制器,在iOS里经常用到。我们看看它的如何使用:下面的图显示了导航控制器的流程。最左侧是根视图,当用户点击其中的General项时 ,General视图会滑入屏幕;当用户继续... 阅读全文
posted @ 2015-05-20 09:32 Aggie1024 阅读(126) 评论(0) 推荐(0)

导航