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

- (void)jumpToAnotherApp {    

 

    UIApplication *app         = [UIApplication sharedApplication];

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

 

    if (![app canOpenURL:AnotherAppBaseURL]) {

        return;

    }

 

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

}

关于URL Schemes在这里找

原文地址:https://www.cnblogs.com/songxing10000/p/4867496.html