How to launch AppStore application with request?
2011-03-02 10:27
381 查看
If you will need launch AppStore application with search request – use this example
for getting reviews screen of application, you can will use this example:
for getting screen of application:
1 2 3 4 5 | NSString *str = @"itms-apps://ax.search.itunes.apple.com"; str = [NSString stringWithFormat:@"%@/WebObjects/MZSearch.woa/wa/search?media=software&term=", str]; str = [NSString stringWithFormat:@"%@3d4medical", str]; [[UIApplication sharedApplication] openURL: [NSURL URLWithString:str]]; |
for getting reviews screen of application, you can will use this example:
1 2 3 4 5 6 7 | 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:@"%@325180061", str]; [[UIApplication sharedApplication] openURL: [NSURL URLWithString:str]]; |
1 2 3 4 5 6 | NSString *str = @"itms-apps://ax.itunes.apple.com/WebObjects/MZStore.woa"; str = [NSString stringWithFormat:@"%@/wa/viewSoftware?id=", str]; // Here is the app id from itunesconnect str = [NSString stringWithFormat:@"%@325180061", str]; [[UIApplication sharedApplication] openURL: [NSURL URLWithString:str]]; |
相关文章推荐
- How to launch App Store from my iPhone application?
- How Can I Launch The Appstore App Directly from my Application
- Preparing and Submitting an Application to the App Store with xCode4.2 and iOS5 SDK
- How to debug c++ console application with argument in visual studio 2012
- How to upload images with text using iPhone SDK using ASIHttpRequest ?
- How to deal with "Incorrect NSStringEncoding value 0×0000 Error with ASIHTTPRequest" problem?
- How to read out WhatsApp messages with Tasker and react on their content in real time
- How To Do A JavaScript Cross-Domain POST or GET With jQuery or XMLHttpRequest
- Server Application Unavailable 【Failed to execute request because the App-Domain could not be created.】的解决办法
- How to debug an Angular 2 application with Chrome and VS Code
- How to disable 'withcredentials' in HTTP header with node.js and Request package?
- [错误处理]: How to deal with chrome failing to launch GPU process
- How to Configure Auto Launch for a Single Published Application on Web Interface 5.x
- How to Send an HTTP Header With Every Request With Spring RestTemplate
- this bundle is invalid . new apps and app updates submitted to the app store must be built with publ
- How to launch application to start->run
- Siebel Admin: How to find the Component that associated with Application
- How to Make an iOS VoIP App With Pjsip: Part 2
- How to Run a Shell Script with Mac App Sandbox Enabled?
- scala: How to write a simple HTTP GET request client in Scala (with a timeout)