how to open app store with in our ipad or iphone application?

放肆的年华 提交于 2019-12-03 08:14:34
Matthew Frederick
  1. You can get the appropriate URL to your app here:

    http://itunes.apple.com/linkmaker

    If you enter the name of your company the linkmaker will provide an "artist link" that shows all of your apps.

  2. If you use the itms-apps:// prefix the user is sent directly to the App Store App with the specified app showing rather than the ugly first-Safari-then-the-App-Store-App shuffle that you get without that UTI. A la:

[[UIApplication sharedApplication] openURL:[NSURL URLWithString:  
                                            @"itms-apps://yourAppLinkHere"]];
Abolfoooud

To generate a link that is universal and not specific to an App Store Country do the following

Use

itms-apps://**ax.itunes**.apple.com/app/yourAppLinker

where yourAppLinker is the part of the link generated in (http://itunes.apple.com/linkmaker), as in Matthew Frederick's post, which contains your application name and id

it worked for me

cheers

For IOS7 and later for example:

[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"itms-apps://itunes.apple.com/app/id547101139"]];
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!