【问题标题】:Is there a constant I can check to determine whether a device is capable of a Facetime call?是否有一个常数我可以检查以确定设备是否能够进行 Facetime 通话?
【发布时间】:2011-04-13 04:52:14
【问题描述】:

我是否可以检查一个常数来确定设备是否能够进行 Facetime 通话?我的应用程序中有一个 Facetime 按钮,但我只想在用户能够进行 Facetime 通话时显示它(即用户现在拥有 iPhone 4 或 iPad 2,但希望代码适用于未来的版本) .

【问题讨论】:

    标签: iphone ipad facetime


    【解决方案1】:

    尝试在facetime URL上使用canOpenUrl,如下:

    [[UIApplication sharedApplication] canOpenURL: [NSURL URLWithString: @"facetime://5555555555"]];
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2012-04-10
      • 1970-01-01
      • 1970-01-01
      • 2011-05-21
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多