【问题标题】:Calling other facetime emails in iOS在 iOS 中调用其他 facetime 电子邮件
【发布时间】:2013-02-08 15:28:58
【问题描述】:

我想拨打其他 facetime 号码,但这些是电子邮件而不是号码。我该怎么做?

对于数字,我知道该用什么。

NSURL *url = [NSURL URLWithString:@"facetime://+123456789"];
[[UIApplication sharedApplication] openURL:url];

但是对于电子邮件,我该如何更改它。有什么想法吗?

【问题讨论】:

    标签: iphone ios facetime


    【解决方案1】:
    NSURL *url = [NSURL URLWithString:@"facetime://email@example.com"];
    [[UIApplication sharedApplication] openURL:url];
    

    这些是选项

    @"facetime://appleId"             // For apple id
    @"facetime://email@example.com"   // For email id
    @"facetime://5558675309"          // For phone number
    

    【讨论】:

    • @lakesh 不是太棒了,因为我在 goole 上用正确的关键字搜索了它。如果你搜索 facetime url scheme,这些在谷歌上被称为 url 方案,你会在前 3 个站点中找到答案。我本可以共享该链接,但不建议在 SO 中提供指向外部博客的链接作为答案。无论如何,感谢您的支持和接受
    • 没关系.. 没有人一开始就一无所知。希望您能完善其他应用方案。 :)
    猜你喜欢
    • 1970-01-01
    • 2014-02-24
    • 1970-01-01
    • 1970-01-01
    • 2020-06-23
    • 1970-01-01
    • 2019-04-21
    • 2019-10-15
    • 2021-10-30
    相关资源
    最近更新 更多