【问题标题】:Open FaceTime programmatically without any number or apple id - iOS8以编程方式打开 FaceTime,无需任何数字或苹果 ID - iOS8
【发布时间】:2014-11-06 07:15:55
【问题描述】:

在 iOS8 之前,我可以使用以下代码从我的应用程序中打开 FaceTime 应用程序。

如果我有号码,直接拨打电话,如果是nil,就直接打开FaceTime。

但是从iOS8开始,如果是空号,FaceTime根本打不开。

NSString *temp =@"facetime://";
        if(number && number.length>0){
            temp = [temp stringByAppendingString:number];
        }
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:temp]];

【问题讨论】:

    标签: ios xcode ios8 xcode6 facetime


    【解决方案1】:

    iOS 接受以下 URL:

    facetime://14085551234 
    facetime://user@example.com
    

    根据他们的FaceTime Links.

    如果 FaceTime 没有以空号码启动,那可能只是他们清理旧代码的方式。

    【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2017-03-02
    • 1970-01-01
    • 2020-02-02
    • 2015-12-09
    • 2016-08-29
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多