ios某个控制器强制横竖屏

在控制器的 .m 中实现

-(NSUInteger)supportedInterfaceOrientations{

    return UIInterfaceOrientationMaskPortrait;       //(竖屏) 

}

  UIInterfaceOrientationMaskLandscape  //(横屏)

posted on 2014-12-04 10:42  MGY007  阅读(404)  评论(0编辑  收藏  举报