美文网首页
Share Extension 怎么唤起containing

Share Extension 怎么唤起containing

作者: 王家小雷 | 来源:发表于2017-12-15 13:40 被阅读12次

    {
    UIResponder *responder = self;
    while (responder) {
    SEL openSelector = NSSelectorFromString(@"openURL:");
    if([responder respondsToSelector:openSelector]) {
    [responder performSelector:openSelector withObject:[NSURL URLWithString:@"xxx://xxxx"] afterDelay:1.0];
    break;
    }
    responder = [responder nextResponder];
    }

    相关文章

      网友评论

          本文标题:Share Extension 怎么唤起containing

          本文链接:https://www.haomeiwen.com/subject/fqxdwxtx.html