Cocos2d - Setting Device/Screen Orientation

前端 未结 6 964
情话喂你
情话喂你 2021-01-15 17:31

I am new to the cocos2d API and have noticed that there are a few ways to set the screens orientation within the templates. I have not been able to figure out the correct wa

6条回答
  •  抹茶落季
    2021-01-15 18:29

    The correct answer - took me a while to find - is in the info.plist, change the supported interface orientations values, item 0 and item 1 have 4 possible values, Portrait (top home button) etc.

提交回复
热议问题