iOS读书笔记——常见plist里的key的含义

1、UIAppFonts 内嵌字体

2、UIBackgroundModes 后台运行时的服务(voip,audio,location)

3、UIDeviceFamily array 类型 (1为iPhone和iPod touch设备 ,2为iPad)

4、UIFileSharingEnabled 开启iTunes共享document文件夹

5、UILaunchImageFile 相当于Default.png

6、UIPrerenderedIcon Icon上是否有高光/抛光

7、UIRequiredDeviceCapabilities 设备需要的功能

8、UIStatusBarHidden 状态栏隐藏

9、UIStatusBarStyle 状态栏类型

10、UIViewEdgeAntialiasing 是否开启抗锯齿

11、CFBundleDisplayName app显示名

12、CFBundleIconFile 、CFBundleIconFiles 图标

13、CFBundleName与CFBundleDisplayName 的区别在于这个是短名,16字符之内

14、CFBundleVersion 版本

15、CFBundleURLTypes 自定义url,用于利用url弹回程序

16、CFBundleLocalizations 本地资源的本地化语言,用于iTunes页面左下角显示本地话语种

17、CFBundleDevelopmentRegion 也是本地化相关,如果用户所在地没有相应的语言资源

18、UIApplicationExistsOnSuspend 程序不进入后台

 

 

通过代码获取plist中的内容

1 NSDictionary *dict = [[NSBundle mainBundle] infoDictionary];

3 NSLog(@"%@",dict);

 

posted @ 2015-05-13 00:17  H_F  阅读(703)  评论(0编辑  收藏  举报