![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
ios
夏侯惇112356
这个作者很懒,什么都没留下…
展开
-
iOS 变量加下划线
复制代码 appdelegate.h @property (weak) IBOutlet NSMatrix *StockType; @property (weak) IBOutlet NSMatrix *market; appdelegate.m NSCell *st=[market selectedCe...转载 2018-10-14 12:28:51 · 431 阅读 · 0 评论 -
IOS页面间跳转方式
下面以OldViewController(oldC)的按钮btn点击后跳转到NewViewController(newC)为例说明: 1.Storyboard的segues方式 鼠标点击按钮btn然后按住control键拖拽到newC页面,在弹出的segue页面中选择跳转模式即可 优点:操作方便,无代码生成,在storyboard中展示逻辑清晰 缺点:页面较多时不方便查看,团队合作时...转载 2018-09-29 17:11:22 · 107 阅读 · 0 评论 -
IOS 页面退出
退出vc有两种方式: 方式一:[self.navigationController popViewControllerAnimated:YES]; 适用于带有uinavigationcontroller的vc 方式二:[self dismissViewControllerAnimated:YES completion:nil]; 适用于没有uinavigationcontroller的vc...原创 2018-09-29 17:46:58 · 1197 阅读 · 0 评论