简体   繁体   中英

How can CallKit be used to make a non-voip call?

I would like to make a call from app using the new iOS 10 CallKit but using the default carrier. Is it possible? If so, how?

Currently using:

public void dial(String number) {
  NSURL url = new NSURL("tel://" + number);
  UIApplication.getSharedApplication().openURL(url);
}

If you wish to make a standard telephone call using the device's carrier and not via your own app (ie not as a "VoIP" call in your own app) then launching a tel: URL is still the way to do this. CallKit is only involved if your own app will be backing the call, but that is not the case if you are making a carrier-backed telephone call.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM