取info.plist版本号等内容
来源:互联网 发布:破解手游用什么软件 编辑:程序博客网 时间:2024/05/17 08:52
NSString *executableFile = [[[NSBundle mainBundle] infoDictionary]objectForKey:(NSString *)kCFBundleExecutableKey];
还有其它很多信息可由infoDictionary获得,以下是官方文档里的说明:
information Property List Keys
Standard keys found in a bundle’s information property listfile.
const CFStringRef kCFBundleInfoDictionaryV
const CFStringRef kCFBundleExecutableKey;
const CFStringRef kCFBundleIdentifierKey;
const CFStringRef kCFBundleVersionKey;
const CFStringRef kCFBundleDevelopmentRegi
const CFStringRef kCFBundleNameKey;
const CFStringRef kCFBundleLocalizationsKe
Constants
kCFBundleInfoDictionaryV
The version of the information property list format.
Available in iOS 2.0 and later.
Declared in CFBundle.h.
kCFBundleExecutableKey
The name of the executable in this bundle (if any).
Available in iOS 2.0 and later.
Declared in CFBundle.h.
kCFBundleIdentifierKey
The bundle identifier.
Available in iOS 2.0 and later.
Declared in CFBundle.h.
kCFBundleVersionKey
The version number of the bundle.
For Mac OS 9 style version numbers (for example “2.5.3d5”), clientscan use CFBundleGetVersionNumber
Available in iOS 2.0 and later.
Declared in CFBundle.h.
kCFBundleDevelopmentRegi
The name of the development language of the bundle.
When CFBundle looks for resources, the fallback is to look in thelproj whose name is given by the kCFBundleDevelopmentRegi
Available in iOS 2.0 and later.
Declared in CFBundle.h.
kCFBundleNameKey
The human-readable name of the bundle.
This key is often found in the InfoPlist.strings since it isusually localized.
Available in iOS 2.0 and later.
Declared in CFBundle.h.
kCFBundleLocalizationsKe
- 取info.plist版本号等内容
- awk和sed 取 info.plist 里面的版本号
- 获取info.plist当中版本号
- Plist获取版本号等
- 读取Info.plist中的内容
- 查看bundleId和info.plist文件内容
- iOS从info.plist 获取项目的名称及版本号
- iOS从info.plist 获取项目的名称及版本号
- iOS从info.plist 获取项目的名称及版本号
- iOS从info.plist 获取项目的名称及版本号
- iOS从info.plist获取项目的名称及版本号
- info.plist
- info.plist
- info plist
- info.plist
- Info.plist
- info.plist
- 成功访问http,需要对info.plist配置的内容
- 【转】三大UML建模工具Visio、Rational Rose、PowerDesign的区别
- 一种显示函数被调用的堆栈信息的方法
- SRM 538 450
- Merkaartor介绍
- URL ajax 传递带有特殊符号参数的问题
- 取info.plist版本号等内容
- [MVC] 找不到请求的.Net Framework Data Provider
- 针对IT人员的四月热点新书推荐
- Singleton之C++部分一
- 绝招教你健康发泄愤怒
- 如何创建Filter的属性页
- 常用文件系统介绍
- table 自动截断 IE FIREFOX 兼容性
- listener报错HPUX Error: 233: No buffer space available