// IPA包保存路径
~/Library/Group Containers/K36BKF7T3D.group.com.apple.configurator/Library/Caches/Assets/TemporaryItems/MobileApps/
URL types
URL identifier
URL Schemes
配置LSApplicationQueriesSchemes, 跳转第三方URL Scheme 需要配置允许
NSURL* amapUrl = [NSURL URLWithString:@”ulebuy://”]; if ([[UIApplication sharedApplication] canOpenURL:amapUrl]) { [[UIApplication sharedApplication] openURL:amapUrl]; } else { [[UIApplication sharedApplication] openURL:[NSURL URLWithString:[NSString stringWithFormat:@”itms-apps://itunes.apple.com/app/id%@”,myAppID]]]; }
//第一种方式跳转(打开App store 但是提示网络无法连接,打不开指定的App)
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:[NSString stringWithFormat:@"itms-apps://ax.itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?type=Purple+Software&id=%@",myAppID]]];
//第二种方式跳转(打开App store,并且条跳转到指定app)
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:[NSString stringWithFormat:@"itms-apps://itunes.apple.com/app/id%@",myAppID]]];
在AppStore APP安装页面中分享出链接