您的位置:首页 > 其它

在一个应用里,点击一个按钮,跳转到另外一个应用

2015-10-10 16:41 330 查看
- (void)jumpToAnotherApp {

UIApplication *app = [UIApplication sharedApplication];

NSURL *AnotherAppBaseURL = [NSURL URLWithString:@"Xxxx://"];

if (![app canOpenURL:AnotherAppBaseURL]) {

return;

}

[app openURL:[NSURL URLWithString:@"Xxxx://xxxxxxxx"]];

}



关于URL Schemes在这里找

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: