How to launch AppStore application with request?
Categories: Apple, iPad, iPhone on Feb.02, 2010
If you will need launch AppStore application with search request – use this example
- 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:
- 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]];
for getting screen of application:
- 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]];
Similar posts:


(4 votes, average: 4.50 out of 5)



Оставить отзыв