Iphone app links to app store but shows blank page instead of app to download

*爱你&永不变心* 提交于 2019-12-31 05:40:07

问题


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

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?


回答1:


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.



来源:https://stackoverflow.com/questions/7770777/iphone-app-links-to-app-store-but-shows-blank-page-instead-of-app-to-download

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!