美文网首页
iOS 跳转到testflight

iOS 跳转到testflight

作者: 路人甲_kbb | 来源:发表于2021-04-14 10:31 被阅读0次

    跳转到 testflight 提供升级

    -(void)jumpTestFlight{
        NSString *urlString = @"beta.itunes.apple.com/v1/app/1554974726";
        if ([[UIApplication sharedApplication] canOpenURL:[NSURL URLWithString:@"itms-beta://"]]) {
            urlString = [NSString stringWithFormat:@"itms-beta://%@",urlString];
            NSURL *url = [NSURL URLWithString:urlString];
            [[UIApplication sharedApplication] openURL:url];
        }else{
            urlString = [NSString stringWithFormat:@"https://%@",urlString];
            NSURL*url = [NSURL URLWithString:urlString];
            [[UIApplication sharedApplication] openURL:url];
        }
    }
    

    相关文章

      网友评论

          本文标题:iOS 跳转到testflight

          本文链接:https://www.haomeiwen.com/subject/yudklltx.html