Your Site Title

iOS ipa

使用Apple Configurator 2下载IPA包

// IPA包保存路径
~/Library/Group Containers/K36BKF7T3D.group.com.apple.configurator/Library/Caches/Assets/TemporaryItems/MobileApps/

自定义URL Scheme

URL types
URL identifier
URL Schemes

URL Scheme跳转

  1. 配置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]]]; }

URL Scheme跳转

跳转App Store下载

//第一种方式跳转(打开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]]];

获取”跳转App Store下载”中需要的APPID

在AppStore APP安装页面中分享出链接

Reference