Summary of keywords in iOS project Info.plist

1. Application does not run in background

(键名:UIApplicationExistsOnSuspend)

Since iOS4.0, when you press the Home button while the application is executing, the application will not interrupt the current application, but will be placed in the background.

Therefore, please check this option if you want the user to exit the current application after pressing the Home button.

 

2. Application requires iPhone environment

(Key name: LSRequiresIPhoneOS )

The iOS family of devices includes the iPhone, iPad, and iPod Touch. So if your application can only be used in the iPhone environment,

Please check this option.

 

3. Application supports iTunes file sharing

(键名:UIFileSharingEnabled)

Versions after iTunes9.1 have added a file sharing function, just open this option in info.plist,

Then put the file you want to share in the Documents directory, and you can see the file in the Applications tab in iTunes.

 

4. Application uses Wi-Fi

(键名:UIRequiresPersistentWiFi )

If your application needs to use WiFi to connect, then you can enable this feature.

When the user does not turn on WiFI when running this application, a dialog box will automatically pop up on the interface asking to turn on Wi-Fi.

 

5. Bundle creator OS Type code

(Key name: CFBundleSignature )

CFBundleSignature is a four-letter string that represents the developer's identification of the application.

For example: in a text editing application, you can identify as "ttext".

 

6. Bundle display name

(键名:CFBundleDisplayName)

The localized display name of the application, the default value is ${PRODUCT_NAME}. This function can be modified in the project setting interface that appears after double-clicking Targets,

Find "Product Name" and modify it to your product name, and the compiled .app will also be named with this name.

 

7. Bundle identifier

(Key name: CFBundleIdentifier )

The unique ID used to identify the application, usually named in reverse DNS, for example: com.myCompany.myApp,

This name should be the same as the new app 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 )

The type of the (bundle) used to identify the entire package. In Mac, a package may be a file or directory,

Its purpose is to package together the resources used by the software. For example an application should be identified as APPL.

 

10. Bundle version

(key name: CFBundleVersion )

Used to identify the build version (Bundle number), you can use any string format to represent this version.

For example, use a number to represent the number of compilations.

 

11. Bundle version string,short

(B 名 :CFBundleShortVersionString )

The version of the application, usually a three-digit version number, for example: 1.0.1.

 

12. Executable architectures

(键名:LSExcutableArchitectures)

The setting value for an array shape. Architecture environment for setting hardware devices, for example: i386, ppc, ppc64, x86_64

 

13. Executable file

(key name: CFBundleExecutable )

The name of the executable.

 

14. Fonts provide by application

(key name: UIAppFonts )

The setting value for an array shape. Used to specify the external font used by the application. You can use your own font files within the app,

As long as the font file is added to the project, and the font file name is specified in the setting value, these fonts can be used in the code.

 

15. Get Info string

( CFBundleGetInfoString )

Description of the application on the Finder for Mac.

 

16. Icon already includes gloss effects

(Key name: UIPrerenderedIcon )

Specify whether to add a halo effect to the icon of the application. If you don't want to add a halo effect, check this option.

 

17. Icon file

(Key name: CFBundleIconFile )

It is used to set the icon file of the application. If it is not specified, the default value Default.png is used. According to Apple's regulations,

This image must be a 57x57 graphic file.

 

18. Icon files

(键名:CFBundleIconFiles)

Since the development tools and SDKs are the same for iPhone and iPad, the same application can also be used on both devices at the same time.

It's just that the two pictures are different. This key value is an array type setting value used to specify the application icon for iPhone and iPad,

You only need to give two image file names, the iPhone icon is 57x57 pixel, iPad is 72x72 pixel,

The system will automatically determine which device the image is used on based on the size of the image.

 

19. Info dictionary version

(键名:CFBundleInfoDictionaryVersion)

Version in info.plist format. Generally, we do not change this value.

 

20. Initial interface orientateon

(key name: UIInterfaceOrientation )

Specifies the orientation in which the application is opened.

 

21. Laumch image

(Key name: UILaunchImageFile )

Used to specify the image file when the application starts.

 

22. Localization native development region

(键名:CFBundleDevelopmentRegion)

The original language version of the application.

 

23. Localizations

(键名:CFBundleLocalizations)

Used to specify the languages ​​supported by the application.

 

24. Localized resources can be mixed

(键名:CFBundleAllowedMimxedLocalizations)

Whether to allow applications to obtain language files in the framework library.

 

25. Main nib file base name

(key name: NSMainNibFile )

Main Nib file name, the default value is MainWindow.

 

26. Renders with edge antialisasing

(键名:UIViewEdgeAntialiasing)

Set whether the anti-aliasing function is enabled for the core animation layer.

 

27. Renders with group opacity

(键名:UIViewGroupOpacity)

Set whether the layer of core animation inherits the transparency of the previous layer.

 

28. Required background modes

(key name: UIBackgroundModes )

Set which actions will continue to be executed in the background when the application enters the background. This key is an array type setting,

Actions that can be set include: audio, locateon, voip.

 

29. Required device capabilities

(键名:UIRequiredDeviceCapabilities)

Sets the hardware that the application needs to use so that it can be sure that the application will run without errors on the device.

 

30. Status bar is initially hidden

(Key name: UIStatusBarHidden )

Sets whether the status bar is initially hidden.

 

31. Status bar style

(Key name: UIStatusBarStyle )

Sets the display type of the status bar.

 

32. Supported external accessory protocols

(键名:UISupportedExternalAccessoryProtocols)

Specifies the communication protocol supported between the application and external hardware accessories. This key value is an array setting, and multiple communication protocols can be specified.

 

33. Supported interface orientateons

(键名:UISupportedInterfaceOrientations)

Set the display mode supported by the application (portrait mode or landscape mode). This key value is an array, which can support multiple different display modes.

 

34. Supported interface orientateons

(键名:UIUpgradeOtherBundleIdentifier)

Set the display mode supported by the application (portrait or landscape mode). This key value can support multiple different display modes.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324973694&siteId=291194637