iOS 6 supportedInterfaceOrientations issue

后端 未结 5 1119
傲寒
傲寒 2021-01-17 06:10

In my view controller, I implement two methods for controlling interface orientation:

- (NSUInteger)supportedInterfaceOrientations
{
    return UIInterfaceOr         


        
5条回答
  •  情书的邮戳
    2021-01-17 06:47

    In order to change the orientation setting, select menu Targets->Summary-> Supported Device Orientations and change as following.

    If the buttons for the orientation are dark then that means you have selected it as one of the orientation. enter image description here

提交回复
热议问题