![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
UIKit
P.Chen
开发有风云直播、直播时刻、章鱼TV
展开
-
UIKit--UIDevice
UIDevice原创 2014-10-17 10:49:44 · 693 阅读 · 0 评论 -
UIKit--UIApplication
UIApplication原创 2014-10-15 18:42:30 · 590 阅读 · 0 评论 -
UIKit--UINavigationController
UINavigationController屏幕旋转如果window的rootViewController是一个navigationController,可能会出现以下问题: navigationController只支持竖屏,但是你push到了某个新的controller中,这个controller支持横竖屏,在新的controller中切换到横屏后(也有可能在切换到横屏然后pop回来后),这时原创 2015-04-24 12:59:34 · 642 阅读 · 1 评论 -
UIKit--UIViewController
UIViewController支持横屏UIViewController支持横屏需要重写以下两个方法:// 支持设备自动旋转 - (BOOL)shouldAutorotate{ return YES; } // 支持横竖屏显示 - (NSUInteger)supportedInterfaceOrientations{ return UIInterfaceOrientationMask原创 2015-04-24 11:56:43 · 808 阅读 · 0 评论 -
UIKit--UIAlertController
UIAlertControllerUIAlertController的使用原创 2015-06-03 12:08:11 · 758 阅读 · 0 评论