如何新的Facebook应用程序集成App Store的页面? [英] How does new Facebook App integrates App Store page?

查看:162
本文介绍了如何新的Facebook应用程序集成App Store的页面?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

由于一些实数周的广告显示在自己的iOS客户端应用程序。当你点击它们在App Store应用程序详细信息页面的打开,如Facebook应用程序内部的模态视图控制器

Since some weeks Facebook displays ads for apps in their iOS client. When you click on them the App Store apps detail page opens as a modal view controller inside the Facebook app.

我只知道怎么办通过其URL打开App Store的页面,但如何从应用程式中显示的App Store页面?

I only know how do open App Store pages via their URL, but how to show a App Store page from inside your app?

推荐答案

您正在寻找的SKStoreProductViewController。下面是该文档的链接:)

You're looking for the SKStoreProductViewController. Here is a link to the docs :)

<一个href=\"https://developer.apple.com/library/ios/documentation/StoreKit/Reference/SKITunesProductViewController_Ref/SKStoreProductViewController.html\" rel=\"nofollow\">https://developer.apple.com/library/ios/documentation/StoreKit/Reference/SKITunesProductViewController_Ref/SKStoreProductViewController.html

我还发现这是很有帮助的教程:)

I also found this helpful tutorial :)

<一个href=\"http://www.techotopia.com/index.php/Making_Store_Purchases_with_the_SKStoreProductViewController_Class\" rel=\"nofollow\">http://www.techotopia.com/index.php/Making_Store_Purchases_with_the_SKStoreProductViewController_Class

这篇关于如何新的Facebook应用程序集成App Store的页面?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆