2017-01-02 78 views
0

我想顯示所有列爲用戶的iTunes應用程序。如何列出我所有的蘋果開發者門戶應用程序

我有更多的應用程序按鈕。所以我想將它重定向到App Store,向用戶顯示我的所有應用程序。

如何顯示此列表?

+2

的可能的複製(http://stackoverflow.com/questions/15332369/listing-all-installed-apps-on-iphone-programmatically) – Poles

+0

HTTP [清單上iPhone編程的所有安裝的應用程序?]:/ /stackoverflow.com/questions/11519716/how-to-list-all-iphone-apps-by-a-single-developer-in-iphone-app請按照此鏈接 –

回答

1

重定向URL是可能的,通過它可以重定向到應用商店一樣,

[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"http://appstore.com/gameloft"]]; 

你可以看一下Apple Documentation Link

enter image description here

-1

讓您的「更多應用程序通過這個開發者」來自瀏覽器的網址(我已經檢查過這段代碼,它對我來說工作正常)

let itunesUrl = "itms://MORE_APP_BY_THIS_DEVELOPER_URL" 

guard let url = URL(string: itunesUrl) else { return } 

if UIApplication.shared.canOpenURL(url) { 
    UIApplication.shared.openURL(url) 
} 

在Objective-C

[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"itms://MORE_APP_BY_THIS_DEVELOPER_URL"]]; 

例如:

[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"itms://itunes.apple.com/in/developer/aol-inc./id281704577"]]; 
+0

請評論下來投票答案的原因 –

1

您也可以直接與StoreKit應用程式中顯示您的App Store的頁面。只需將383916386替換爲您的開發者帳戶的正確ID即可。

 SKStoreProductViewController *viewCtrl = [[SKStoreProductViewController alloc] init]; 
     [viewCtrl loadProductWithParameters:@{SKStoreProductParameterITunesItemIdentifier: @"383916386"} completionBlock:nil]; 
     [self presentViewController:viewCtrl animated:YES completion:nil]; 
相關問題