zoukankan      html  css  js  c++  java
  • IOS info.plist配置文件

      创建ios程序时,系统会自动生成一个info.plist文件,它是一个必不可少的文件,因为在这个文件中,存放是应用程序的配置信息,比如本地化语言、版本号、软件名称等,当然,我们也可以在项目的属性中进行设置,得到的效果是一样的。

      info.plist文件中的属性是以键值对的方式存储的,除了系统自动生成的这些,我们也可以自己添加需要的属性。下面,我们就来介绍一下info.plist文件中比较常用的几个属性。

    Localization native development region : 与本地化设置有关,为默认的开发语言

    Executable file:程序安装包的名称

    Bundle identifier:软件唯一的标识,是根据公司的标识与项目名称自动生成的,在上传和测试的时候会用到

    InfoDictionary version:版本信息

    Bundle name:App安装后显示的名称

    Bundle OS Type code:用来标识软件包类型

    Bundle versions string, short:发布的版本字符串

    Bundle creator OS Type code:创建者的标识

    Bundle version:应用程序版本号

    Application requires iPhone environment:用于指示程序包是否只能运行在iPhone OS 系统上,默认为YES

    Launch screen interface file base name:欢迎界面的文件名称

    Main storyboard file base name:默认情况下程序的主入口

    Supported interface orientations:设置程序默认支持的方向

      疑问咨询或技术交流,请加入官方QQ群:JRedu技术交流 (452379712)

    作者:杰瑞教育
    出处:http://www.cnblogs.com/jerehedu/ 
    本文版权归烟台杰瑞教育科技有限公司和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。
     
  • 相关阅读:
    C# 图片与Base64的相互转化
    LeetCode 303. Range Sum Query – Immutable
    LeetCode 300. Longest Increasing Subsequence
    LeetCode 292. Nim Game
    LeetCode 283. Move Zeroes
    LeetCode 279. Perfect Squares
    LeetCode 268. Missing Number
    LeetCode 264. Ugly Number II
    LeetCode 258. Add Digits
    LeetCode 257. Binary Tree Paths
  • 原文地址:https://www.cnblogs.com/jerehedu/p/4772430.html
Copyright © 2011-2022 走看看