美文网首页
跳转TestFlight

跳转TestFlight

作者: 汴城码农 | 来源:发表于2020-08-31 16:33 被阅读0次
    -(void)awakeTestFlight{
        NSString *urlString = @"beta.itunes.apple.com/v1/invite/fb434eea632c45cc8592444f62c5c858784fa54807704b66baf9852ed21ff7bd4a45a752?ct=929467FPP6&advp=10000&platform=ios";
        
        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];
        }
    }
    

    相关文章

      网友评论

          本文标题:跳转TestFlight

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