IOS apps from Xcode support both landscape and landscape, and iOS apps

Source: Internet
Author: User

IOS apps from Xcode support both landscape and landscape, and iOS apps

It depends on whether an application supports both horizontal and vertical screens. It depends on the settings of the info. plist file in Xcode. Each new project contains three support methods, that is, in Supported interface orientations

Portrait (bottom home button) when the home key is at the bottom, we usually take the mobile phone

Landscape (left home button) Landscape screen, home key on the left

Landscape (right home button) Landscape screen, home key on the right

 

The other one is not used in the new project.

Portrait (top home button) Portrait screen, home key at the top, that is, the mobile phone is taken upside down, generally not supported by applications

According to the above description, if your application does not want to support landscape screen or a display method of landscape screen, delete the item, you can add an item and select the one you want to add.

For example, only the portrait screen is supported, and the home key is in the lower mode.

 

 

Another method is to directly change the following:

4. The above figure shows the same principle. If you want to use a landscape screen, you just need to remove all landscpes.

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.