iOS获取应用程序信息,版本号,程序名等
2015-03-04 16:19
225 查看
![](http://simg.sinajs.cn/blog7style/images/common/sg_trans.gif)
转载▼
NSDictionary *infoDictionary = [[NSBundle mainBundle] infoDictionary];
其中的信息示范:
版本号:[infoDictionary objectForKey:@"CFBundleVersion"];
应用程序名:[infoDictionary objectForKey:@"CFBundleDisplayName"];
{
CFBundleDevelopmentRegion = en;
CFBundleDisplayName = "";
CFBundleExecutable = "";
CFBundleExecutablePath = "";
CFBundleIdentifier = "";
CFBundleInfoDictionaryVersion = "6.0";
CFBundleInfoPlistURL = "";
CFBundleName = "";
CFBundlePackageType = APPL;
CFBundleShortVersionString = "1.0";
CFBundleSignature = "????";
CFBundleSupportedPlatforms = (
iPhoneSimulator
);
CFBundleVersion = "1.0";
DTPlatformName = iphonesimulator;
DTSDKName = "iphonesimulator6.1";
LSRequiresIPhoneOS = 1;
NSBundleInitialPath = "";
NSBundleResolvedPath = "";
UIDeviceFamily = (
1,
2
);
UIRequiredDeviceCapabilities = (
armv7
);
UISupportedInterfaceOrientations = (
UIInterfaceOrientationPortrait,
UIInterfaceOrientationLandscapeLeft,
UIInterfaceOrientationLandscapeRight
);
}
iOS获取AppStore内应用程序信息
参考 apple 的文档:www.apple.com/itunes/affiliates/resources/documentation/itunes-store-web-service-search-api.html
具体步骤如下:
1,用 POST 方式发送请求:
http://itunes.apple.com/search?term=你的应用程序名称&entity=software
更加精准的做法是根据 app 的 id 来查找:
http://itunes.apple.com/lookup?id=你的应用程序的ID
相关文章推荐
- iOS获取应用程序信息,版本号,程序名
- iOS获取应用程序信息,版本号,程序名等
- iOS获取应用程序信息,版本号,程序名等
- iOS获取应用程序信息,版本号,程序名等
- iOS获取应用程序信息,版本号,程序名等
- iOS获取应用程序信息,版本号,程序名等
- 苹果软件通过web接口获取应用程序信息,版本号,程序名等
- iOS获取当前版本号 Bundle Id等信息的方法
- 一个小例子说明ios后台daemon程序获取iTunesstore信息
- IOS 获取Model(设备型号)Version(设备版本号)app(程序版本号)等
- 通过exe文件,获取程序版本号,公司名称等信息
- ios开发之获取版本号,部分设备信息
- IOS-获取Model(设备型号)、Version(设备版本号)、app(程序版本号)等
- 【iOS开发笔记21/50】获取应用程序的名称和版本号 iOS 获取手机的型号,系统版本,软件名称,软件版本
- iOS获取设备型号和App版本号等信息
- 在苹果iOS平台中获取当前程序进程的进程名等信息
- swift 获取app、ios 版本号及设备信息
- 在苹果iOS平台中获取当前程序进程的进程名等信息
- IOS-获取Model(设备型号)、Version(设备版本号)、app(程序版本号)等
- iOS 获取设备型号,设备版本号,程序版本号