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.
新しい iOS 10 CallKit を使用してアプリから電話をかけたいのですが、デフォルトのキャリアを使用しています。出来ますか?もしそうなら、どのように?
現在使用中:
public void dial(String number) { NSURL url = new NSURL("tel://" + number); UIApplication.getSharedApplication().openURL(url); }
独自のアプリ経由ではなく、デバイスのキャリアを使用して標準の電話をかけたい場合 (つまり、独自のアプリで "VoIP" 通話としてではなく)、tel:URL を起動することがこれを行う方法です。CallKit は、独自のアプリが通話をサポートする場合にのみ関与しますが、キャリアが支援する電話をかける場合はそうではありません。
tel: