Upside down orientation not working in iOS6 for UINavigation view and UITabbar view?

后端 未结 3 1017
说谎
说谎 2021-02-19 02:05

I created an app in ios 6 with navigation view.Also I have set all orientation options in the application summary and even used the

 -(BOOL) shouldAutoRotate
         


        
3条回答
  •  面向向阳花
    2021-02-19 02:33

    Phone apps traditionally don't support upside down (why would you hold the phone upside down?) - the default project will support portrait and both landscape options, but not upside down.

    Change this in the project info viewer in Xcode and you should be fine. There is a visual representation of the supported orientations, and upside down will be unselected.

提交回复
热议问题