摘要: 前言 对于新手来说,iOS的几种跳转方式还挺繁琐的,下面就来一一介绍 1.不带任何布局文件的viewController之间的跳转 MyViewController *vc = [[MyViewController alloc]init]; [self.navigationController pu 阅读全文
posted @ 2020-06-30 11:48 mingruqi 阅读(1446) 评论(0) 推荐(0) 编辑
摘要: 1、纯代码创建根视图控制器,在Appdelegate中的didFinishLaunchingWithOptions self.window =[[UIWindow alloc]initWithFrame:[UIScreen mainScreen].bounds]; //设置窗口根窗口控制器 self 阅读全文
posted @ 2020-06-30 11:42 mingruqi 阅读(601) 评论(0) 推荐(0) 编辑