3

几周以来,Facebook 在其 iOS 客户端中展示应用广告。当您单击它们时,App Store 应用程序详细信息页面将作为 Facebook 应用程序内的模式视图控制器打开

我只知道如何通过 URL 打开 App Store 页面,但如何从您的应用程序内部显示 App Store 页面?

4

1 回答 1

6

您正在寻找 SKStoreProductViewController。这是文档的链接:)

https://developer.apple.com/library/ios/documentation/StoreKit/Reference/SKITunesProductViewController_Ref/SKStoreProductViewController.html

我还发现了这个有用的教程 :)

http://www.techotopia.com/index.php/Making_Store_Purchases_with_the_SKStoreProductViewController_Class

于 2012-12-06T21:42:03.057 回答