如何获取Info.plist文件信息
来源:互联网 发布:艾弗森生涯数据 编辑:程序博客网 时间:2024/06/11 15:28
swift:
NSBundle.mainBundle().infoDictionary?["CFBundleShortVersionString"]
比如:
if let version = NSBundle.mainBundle().infoDictionary?["CFBundleShortVersionString"] as? String { versionLabel.text = "Version. \(version)" } else { versionLabel.text = "Version. 1.0.0" }
0 0
- 如何获取Info.plist文件信息
- 获取info.plist文件
- [绍棠_Swift] Swift3.0中如何获取Info.plist文件信息
- 获取系统info.plist文件中所有信息
- 获取info.plist相关信息方法
- 获取plist文件信息
- Info.plist信息
- IOS获取plist文件信息
- Java读取ipa中info.plist获取版本信息
- Java读取ipa中info.plist获取版本信息
- 如何读取Info.plist里自己添加的信息
- info.plist文件错误
- iOS Info.plist文件
- iOS info.plist文件
- Info.plist文件简介
- 获取info.plist当中版本号
- iPhone中的info.plist文件
- iPhone中的info.plist文件
- 心动不如行动
- HDU 2187
- 【学习ios之路:C语言】指针函数
- JSTL 核心标签库 使用
- Hadoop-07-Pig详解
- 如何获取Info.plist文件信息
- JAVA设计模式(一)——简单工厂模式
- iOS开发快速入门教程——5.1节~5.3节
- MySQL内核月报_2014.12
- 弄明白handler机制
- storm杂谈之Why use netty as transport instead of zeromq
- c++组合设计模式
- 顺序栈 链栈
- 设计模式7——桥接模式