Believe in your own future, will thank yourself right now Sinner Yun

Sinner_Yun

应用内直接跳转到Appstore

 1 iOS开发中,应用内直接跳转到Appstore
 2 1.进入appstore中指定的应用
 3 NSString *str = [NSString stringWithFormat: @"itms://itunes.apple.com/us/app/san-ban+/id1050067747?l=zh&ls=1&mt=8";
 6 
 7         [[UIApplication sharedApplication] openURL:[NSURL URLWithString:str]];
 8 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]];

 

posted on 2016-02-19 17:40  Sinner_Yun  阅读(296)  评论(0编辑  收藏  举报

导航