How Can I Launch The Appstore App Directly from my Application
来源:互联网 发布:网络欺诈案例 编辑:程序博客网 时间:2024/05/22 06:05
How Can I Launch The Appstore App Directly from my Application
Ben Gottlieb is right, but there's a faster way to get the URL: You can right-click on any application icon in iTunes and select "Copy iTunes Store URL".
Then call UIApplication openURL
on it.
Make sure it says "phobos.apple.com" and not "itunes.apple.com"
The former opens the App Store directly, while the latter will open MobileSafari first, then the App Store.
I figured out how to get straight into the review page for an app in the AppStore.
Basically it's done like below, feel free to read my blog post about it.
- (IBAction)gotoReviews:(id)sender { NSString *str = @"itms-apps://ax.itunes.apple.com/WebObjects/MZStore.woa"; str = [NSString stringWithFormat:@"%@/wa/viewContentsUserReviews?", str]; str = [NSString stringWithFormat:@"%@type=Purple+Software&id=", str]; // Here is the app id from itunesconnect str = [NSString stringWithFormat:@"%@289382458", str]; [[UIApplication sharedApplication] openURL:[NSURL URLWithString:str]]; }
If you do not want to get the link for iTunes you can do this.
- select your app in AppStore
- click the Tell A Friend button in the top right.
- email the link to yourself
I have had this work at time the iTunes link would not.
If you are just releasing your app... you won't have an "app ID #" yet... so none of those methods will work.
I had to insert a "non-working link" in my v1.0... and then later in my v1.1 update... added the actual link and app ID #.
- How Can I Launch The Appstore App Directly from my Application
- How to launch App Store from my iPhone application?
- How can I run an EXE from within my application?
- How can I handle hardware keys in my application?
- How can I create ePub files from my books?
- How can I recover a file that I deleted in my local repo from the remote repo in Git?
- How can I get my public IP address from the command line, if I am behind a router?
- How do i prevent end users from connecting to the database other than my application?", version 8.1.5
- How can I extract the SIGHASH flags from the signature?
- How can I launch Matlab 2012?
- How can I read single characters from the terminal?
- How can I overclock my video card?
- How can I disable the User Account Control (UAC) feature on my Windows Vista computer?
- How can I insert a checkbox into the header of my view?
- How can I install the Google Apps Package (Play Store, ...) on my Android device?
- How can i get hold of all of the visible items in my QListView?
- How can I get a FlowDocument Hyperlink to launch browser and go to URL in a WPF app?
- How do I use the DCMTK libraries in my own application?
- builing android2.2(froyo)
- 用java软件武装三星S7220手机
- 说说标准--CSS核心可视化格式模型(visual formatting model)之七:浮动(Float)概述
- 从程序中启动App store
- poj2446
- How Can I Launch The Appstore App Directly from my Application
- 龙芯系统中编译ksymoops出错
- RGB颜色转换函数
- 显示鼠标当前屏幕位置
- SQL SERVER中的加密字段
- How to launch App Store from my iPhone application?
- mysql随机查询记录
- 笔试
- SQL 合并多个记录 --GROUP_CONCAT 用法