ios IPad全局禁止横屏设置

开发应用中,若是须要应用禁止横屏,除了在项目的target里设置【去除勾选支持的方向】,还须要勾选Full Screen选项【默认没有勾选,此时须要勾选】,而后在AppDelegate中加入代码:web - (UIInterfaceOrientationMask)application:(UIApplication *)application supportedInterfaceOrientati
相关文章
相关标签/搜索