IOS application configuration information

Source: Internet
Author: User
Typical application bundle

Executable files in which MyApp contains application code
Info. plist: an attribute list file containing the application configuration data. The system uses this file to determine how to interact with the application.
Mainwindow. Nib Main Window NIB file, including interface objects to be loaded when the application starts
Application icon
The startup image is used as the screen size image displayed when the application starts. It serves as a temporary background until the application loads the window and user interface.
Itunesartwork is used for the 512px * 512px icon released by ad hoc.
Settings. bundle contains the application preferences added to the application.
En. lproj: subdirectory for storing local resources
Sun.png non-localized resource files stored in the top-level directory of the bundle

Get application bundle

[Nsbundle mainbundle]

Declare the device features of the request

The uirequireddevicecapabilities key in the info. plist file, which indicates that the existence or nonexistent device features are required.

Application icon

IOS 3.1.3 and earlier versions must contain the following files:
Icon.png iPhone or iPod Touch application icons
Icon-72.png iPad app icons
Icon-Small.png iPhone or iPod Touch search result icons and all device settings icons
Icon-Small-50.png iPad search result icon
For Versions later than iOS 3.1.3, you can use the cfbundleiconfiles key in the info. plist file to declare the application icon. The system finds the icon used by the element with the closest size in the array:
57px * 57px iPhone or iPod Touch app icons
114px * 114px Retina screen iPhone or iPod Touch app icon
72px * 72px iPad app icon
29px * 29px iPhone or iPod Touch search result icon and all device settings icon
58px * 58px Retina screen iPhone or iPod Touch search result icon
50px * 50px iPad search result icon

App startup Image

It must be a PNG Image and placed in the top-level directory of the bundle. The image file name format is as follows:
<Basename>-<usage_specific_modifiers> <scale_modifier> <device_modifier>. PNG
<Basename> the typical type is default. You can also specify it by using the uirequireddevicecapabilities key in the info. plist file.
<Scale_modifier> is an optional string @ 2x.
<Device_modifier> is the device qualifier ~ IPad or ~ IPhone.
<Usage_specific_modifiers> it can be a direction qualifier, a URL custom mode qualifier, or a combination of them.
The image size is as follows:
320px * 480px portrait startup image of iPhone or iPod Touch
640px * 960px Retina screen portrait startup pictures for iPhone or iPod Touch
768px * 1004px iPad portrait Boot Image
1024px * 768px horizontal start image for iPad

Info. plist settings

The format of the keyword specified by the platform or device is as follows:
Key_root-<platform> ~ <Device>
<Platform> indicates the supported IOS versions, while "iPhone OS" indicates that all IOS platforms are supported, which can be ignored.
<Device> indicates a supported device, which can be an iPhone, iPod, or iPad.

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.