代码之家  ›  专栏  ›  技术社区  ›  jantimon

如何确定iPhone/iPod手机是否可以使用?

  •  1
  • jantimon  · 技术社区  · 16 年前

    确定当前设备是否支持 ?

    有类似的方法吗 [MFMailComposeViewController canSendMail] 邮寄?

    Thx预付款:)

    2 回复  |  直到 16 年前
        1
  •  11
  •   Community Mohan Dere    9 年前

    我问 this same question ,答案是:

    BOOL canCall = [[UIApplication sharedApplication]
                           canOpenURL:[NSURL URLWithString:@"tel:1234567"]];
    
        2
  •  0
  •   Sophie Alpert    16 年前

    我完全忘了怎么做了,但我相信有一种方法可以检查设备是否响应 tel: