Iphone应用程序链接到应用程序商店但显示空白页面而不是应用程序下载 [英] Iphone app links to app store but shows blank page instead of app to download

查看:188
本文介绍了Iphone应用程序链接到应用程序商店但显示空白页面而不是应用程序下载的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在iphone上创建一个应用程序,我有一个链接到appStore的按钮,以便下载另一个应用程序。

I´m making an app on iphone and i have a button that links to the appStore in order to download another app.

我使用下面的代码打开safari,而不是在链接上显示他的Twitter应用程序,显示空白页。

I´m using the code below that opens safari and instead of showing the twitter app the his on the link, show a blank page.

[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"http://itunes.apple.com/us/app/twitter/id333903271?mt=8"]];

任何人都知道如何解决这个问题?

Anyone knows how to solve this?

推荐答案

正在使用模拟器,它没有应用程序商店,因此它不会显示它...猜测它将在真实设备上显示。

Was using the simulator, it doesn´t have a app store so offcourse it wouldn´t show it... Guessing it will show on a real device.

这篇关于Iphone应用程序链接到应用程序商店但显示空白页面而不是应用程序下载的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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