中文字幕在线观看,亚洲а∨天堂久久精品9966,亚洲成a人片在线观看你懂的,亚洲av成人片无码网站,亚洲国产精品无码久久久五月天

iOS獲取應(yīng)用程序信息,版本號,程序名等

2018-07-20    來源:open-open

容器云強勢上線!快速搭建集群,上萬Linux鏡像隨意使用

iOS獲取應(yīng)用程序信息

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

其中的信息示范:

版本號:[infoDictionary objectForKey:@”CFBundleVersion”];


應(yīng)用程序名:[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內(nèi)應(yīng)用程序信息

參考 apple 的文檔:www.apple.com/itunes/affiliates/resources/documentation/itunes-store-web-service-search-api.html

具體步驟如下:

用 POST 方式發(fā)送請求:

http://itunes.apple.com/search?term=你的應(yīng)用程序名稱&entity=software

更加精準(zhǔn)的做法是根據(jù) app 的 id 來查找:

http://itunes.apple.com/lookup?id=你的應(yīng)用程序的ID

標(biāo)簽: isp

版權(quán)申明:本站文章部分自網(wǎng)絡(luò),如有侵權(quán),請聯(lián)系:west999com@outlook.com
特別注意:本站所有轉(zhuǎn)載文章言論不代表本站觀點!
本站所提供的圖片等素材,版權(quán)歸原作者所有,如需使用,請與原作者聯(lián)系。

上一篇:Sql Server 分區(qū)sql

下一篇:json_encode()函數(shù)輸出格式