If you will need launch AppStore application with search request – use this example
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 ] ]; |
for getting screen of application:
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 ] ]; |