App1:
在info.plist文件中添加url identifier
App2:
在info.plist文件中设置LSApplicationQueriesSchemes
NSURL * myURL_APP_A = [NSURL URLWithString:@"com.xxxx.xxxxx"];
if ([[UIApplication sharedApplication] canOpenURL:myURL_APP_A]){
NSLog(@"canOpenURL");
[[UIApplication sharedApplication] openURL:myURL_APP_A];
}