zoukankan      html  css  js  c++  java
  • Info.plist常见的设置

    建立一个工程后,会在Supporting files文件夹下看到一个“工程名-Info.plist”的文件,该文件对工程做一些运行期的配置,非常重要,不能删除

    在旧版本Xcode创建的工程中,这个配置文件的名字就叫“Info.plist”
    项目中其他Plist文件不能带有“Info”这个字眼,不然会被错认为是传说中非常重要的“Info.plist”
    项目中还有一个InfoPlist.strings的文件,跟Info.plist文件的本地化相关

    Info.plist

    常见属性(红色部分是用文本编辑器打开时看到的key)
    Localiztion native development region(CFBundleDevelopmentRegion)-本地化相关

    Bundle display name(CFBundleDisplayName)-程序安装后显示的名称,限制在10-12个字符,如果超出,将被显示缩写名称

    Icon file(CFBundleIconFile)-app图标名称,一般为Icon.png

    Bundle version(CFBundleShortVersionString)-应用程序的版本号,每次往App Store上发布一个新版本时,需要增加这个版本号

    Main storyboard file base name(NSMainStoryboardFile)-主storyboard文件的名称

    Bundle identifier(CFBundleIdentifier)-项目的唯一标识,部署到真机时用到

  • 相关阅读:
    POJ 3093 Margaritas on the River Walk(背包)
    BZOJ 2287 【POJ Challenge】消失之物(DP+容斥)
    WC2017 Day1
    WC2017 Day0
    WC2017 Conclusion
    WC2017 Day6
    UOJ #58 糖果公园
    WC2017 Day5
    codevs 1946 阿狸的打字机
    HDU 2457 DNA_repair
  • 原文地址:https://www.cnblogs.com/xufengyuan/p/6920493.html
Copyright © 2011-2022 走看看