摘要: 概述:在iOS6之前的版本中,通常使用shouldAutorotateToInterfaceOrientation来单独控制某个UIViewController的方向,需要哪个viewController支持旋转,只需要重写shouldAutorotateToInterfaceOrientation方法。但是iOS 6里屏幕旋转改变了很多,之前的shouldAutorotateToInterfaceOrientation 被列为DEPRECATED 方法,查看UIViewController.h文件也可以看到:[cpp]view plaincopy//Applicationsshoulduse 阅读全文
posted @ 2014-01-10 17:04 嘟嘟夜未央 阅读(182) 评论(0) 推荐(0) 编辑