标签:
1 iOS开发中,应用内直接跳转到Appstore
2 1.进入appstore中指定的应用
3 NSString *str = [NSString stringWithFormat:
4 @"itms-apps://ax.itunes.apple.com/WebObjects/MZStore.woa /wa/viewContentsUserReviews?type=Purple+Software&id=%d",
5 myAppID ];
6
7 [[UIApplication sharedApplication] openURL:[NSURL URLWithString:str]];
8
9 其中myAppID为itunesconnect中的应用程序id
10
11
12
13 2.进入首页
14
15 NSString *str = [NSString stringWithFormat:
16
17 @"itms-apps://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=%@",
18 m_myAppID ];
19 [[UIApplication sharedApplication] openURL:[NSURL URLWithString:str]];
标签:
原文地址:http://www.cnblogs.com/-yun/p/5201767.html