比如我们用A打开B
1.B需要如下设置:表明自己的URL

2.A需要如下设置:信任B的URL

调用打开其他app响应时,需要用的方法
-(void)openUZSAPP{
NSURL *url = [NSURL URLWithString:@"THEOPENAPP://"];
if ([[UIApplication sharedApplication] canOpenURL:url]) {
[[UIApplication sharedApplication] openURL:url];
}
}
网友评论