Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否有一个常数我可以检查以确定设备是否能够进行 Facetime 通话?我的应用程序中有一个 Facetime 按钮,但我只想在用户能够进行 Facetime 通话时显示它(即用户现在有 iPhone 4 或 iPad 2,但希望代码适用于未来的版本) .
尝试在 facetime URL 上使用 canOpenUrl,如下所示:
[[UIApplication sharedApplication] canOpenURL: [NSURL URLWithString: @"facetime://5555555555"]];