iphone info.plist文件的操作。
来源:互联网 发布:两矩阵等价有什么性质 编辑:程序博客网 时间:2024/05/22 04:40
程序比较重要的配置信息,可以放到info.plist文件中,然后在程序中可以方便的获取数据内容。既方便又快捷。
1。在info.plist文件中添加一个ChannelID的内容。然后指定一个值。
2。在程序中调用下边语句即可。
NSDictionary* infoDict = [[NSBundlemainBundle] infoDictionary];
NSString *channelID = [NSStringstringWithFormat:@"%@", [infoDictobjectForKey:@"ChannelID"]];
NSLog(@"ChannelID:%@", channelID);
- iphone info.plist文件的操作。
- iPhone中的info.plist文件
- iPhone中的info.plist文件
- iPhone中的info.plist文件
- iPhone中的info.plist文件
- iPhone中的info.plist文件
- iPhone中的info.plist文件
- iPhone中的info.plist文件
- iPhone中的info.plist文件
- Info.plist文件的一些操作
- info.plist文件的设置
- info.plist文件的解读
- iphone之Info.plist的属性
- iPhone开发:info.plist
- Info.plist文件中重要的键
- info.plist文件中各键的含义,留着用
- info.plist文件中各键的含义,留着用
- Info.plist和pch文件的作用
- 桥接模式(Bridge)
- Build libfreetype libtiff libjpg libpng libproj for iphone
- iPhone开发基础之局部动画
- boost regex 详解
- javascript弹出页面传值
- iphone info.plist文件的操作。
- linux 端口转发
- 28个实用的源码/文档比较合并工具
- Activity中ConfigChanges属性的用法
- NEC推出全球第一个基于C语言的FPGA专用版大规模集成电路设计工具
- 在ubuntu上安装hadoop
- performing dml/ddl operation over object in bin错误
- Building Coder(Revit 二次开发) - 族元素可见性
- 种植牙手术前那些事儿