Meaning of key values in iOS development info.plist

Source: Internet
Author: User
Tags string format reverse dns

1. Application does not run in background (key name: Uiapplicationexistsonsuspend) since iOS4.0, when you press the home key while the application is being executed, the application does not In the current run, but to hide in the background. So hopefully the user will have to interrupt the current program after pressing the home key, please tick this option.

2. Application requires IPhone environment (key name: Lsrequiresiphoneos) The family of iOS ㄌㄧ eh sass mainly includes the iphone,ipad,ipod touch these three Equipped So if your application is only available under the iphone environment, please tick this option.

3. Application supports ITunes file sharing (Key name: uifilesharingenabled) added a file sharing feature in the iTunes9.1 version, just open info.plist And then you can see this file in the app label page in itunes by storing the files you want to share in the documents page of the document.

4. Application uses Wi-Fi (key name: Uirequirespersistentwifi) If your application needs to use the WiFi to connect, then you can open this feature. When the user performs this application and does not open the WiFi, then the screen will automatically jump out of the dialog to ask for WiFi.

5. Bundle Creator OS Type code (key name: Cfbundlesignature) Cfbundlesignature is a four-letter string that indicates the issuer's knowledge of the application. For example, in a text editor application, you can target "Ttext".

6. The Bundle display name (Key name: Cfbundledisplayname) is used to localize the program name, the default value is ${product_name}. This variable can be modified in the design screen after the double strike targets, and the "Product name" will be changed to the name of your product. The app will also be named after this name.

7. Bundle identifier (key name: Cfbundleidentifier) is used to target the unique ID of the application, usually named in reverse DNS. For example: COM.MYCOMPANY.MYAPP, this name should match the new application ID in itunes Connect.

8. Bundle Name (Key name: Cfbundlename) The short name of the application, usually your application name.

9. Bundle OS Type Code (key name: Cfbundlepackagetype) is used to target the type of the entire packet (bundle). In a Mac, a packet may be a file or a record, and its purpose is to bundle the resources used by the software. For example, the application is appl.

Bundle Version (key name: Cfbundleversion) is used to target the editing version (bundle number), and you can use any string format to represent this version. For example, use a number to represent the number of translations.



the version of Bundle version String,short (key name: cfbundleshortversionstring), usually expressed in three numbers, for example: 1.0.1.

executable Architectures (Key name: Lsexcutablearchitectures) is the setting value for an array form. Used to set the structure of the retainer can be run, for example: i386,ppc,ppc64,x86_64

executable file (Key name: cfbundleexecutable) is the name of a file.

Fonts provide by application (key name: Uiappfonts) is the set value for an array of configurations. Use to specify the external glyphs used by the application. You can use your own fonts in the application, as long as the font file is added to the program, you can use these glyphs in the code by specifying the font name in the set value.

The
. Get Info String (Key name: cfbundlegetinfostring) is used for the description of the application on the Mac's finder.

Icon already includes gloss effects (key name: Uiprerenderedicon) Specifies whether the application's image is added with a light dizzy effect, and if you do not want to add a light dizzy effect, tick this option.

The
icon file (Key name: Cfbundleiconfile) is used to set the application's graphics and, if not specified, to use the preset value default.png, which, according to Apple's specifications, is required to be a 57x57 image file.

Icon Files (key name: Cfbundleiconfiles) is the same as the iphone and ipad development tool and SDK, so the same application can be used in both settings, but the two images are not quite the same way. This key value is an array-type setting that specifies the iphone and ipad application, and you just give two graphics, where the iphone is shown as 57x57 Pixel,ipad, which is 72x72 pixel, The system automatically uses the image size to decide which kind of equipment to use on the diagram.

. Info dictionary version (keyboard name: cfbundleinfodictionaryversion) info.plist format. In general, we don't change this number.

Initial interface Orientateon (key name: uiinterfaceorientation) specifies the direction at which the application should start.

laumch Image (Key name: Uilaunchimagefile) is used to specify which files the application activates.

Localization native Development region (key name: cfbundledevelopmentregion) The original language version of the program.

localizations (Key name: Cfbundlelocalizations) is used to specify the languages that the application supports.

localized resources can be mixed (key name: Cfbundleallowedmimxedlocalizations) allows the application to obtain the language files within the framework.

Main nib
file base name (Key name: Nsmainnibfile) is the primary nib file name, and the default value is MainWindow.

renders with Edge antialisasing (key name: uiviewedgeantialiasing) set whether the core animation layer is open to anti-saw teeth.

renders with group opacity (key name: uiviewgroupopacity) Set the layer of core animation to give a layer of transparency.

Required Background modes (key name: uibackgroundmodes) Set what actions to continue in the background after the application has entered the background. This key value is an array type setting, which can be set to include: Audio,locateon,voip.

Required device capabilities (Key name: uirequireddevicecapabilities) The hardware that the application needs to use, so that it does not make any mistake when the application is executed on that setup.

The
Status Bar is initially hidden (key name: Uistatusbarhidden) The set state is hidden.

the Status bar style (Uistatusbarstyle) is the display type of the State column.

supported external accessory protocols (Key name: Uisupportedexternalaccessoryprotocols) Specifies that the application is supported by external hardware components, This key value is an array setting that allows you to specify multiple messaging settings.

supported interface Orientateons (key name: uisupportedinterfaceorientations) the display mode supported by the application (portrait mode or Landscape mode), which is an array, Can support several different display modes.

supported interface Orientateons (key name: Uiupgradeotherbundleidentifier) Set the display mode (portrait or landscape mode) supported by the application. This key value can support a number of different display modes.

Meaning of key values in iOS development info.plist

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.