iOS点击链接跳转到App Store上的应用内

来源:互联网 发布:python正则表达式匹配 编辑:程序博客网 时间:2024/06/02 19:42


// appId 为iTunes Connect上具体应用里的Apple ID


Int appId = 111111111;

NSString *appUrl = [NSString stringWithFormat:@"https://itunes.apple.com/us/app/id%d",appId];


// 可以使用https://itunes.apple.com/us/app/idappId,生成二维码,扫描跳转。有草料文本二维码生成器。



应用内打开

[[UIApplication sharedApplication] openURL:[NSURL urlWithString:appUrl]];


0 0
原创粉丝点击