简体   繁体   English

从 iOS 应用程序拨打电话时选择使用默认 sim

[英]Choose to use the default sim when placing calls from iOS app

We have a dialer app that makes phone calls.我们有一个拨打电话的拨号器应用程序。 Basically, it just sends the dial string to the native dialer and the native dialer makes the call.基本上,它只是将拨号字符串发送到本地拨号器,然后本地拨号器进行呼叫。
When an iPhone has a dual sim, you set which one is used as the default.当 iPhone 有双卡时,您可以设置默认使用哪一个。 When you make a call with the native dialer, it uses that default sim.当您使用本机拨号器拨打电话时,它会使用该默认 SIM 卡。 However, when you make calls from our app, it uses the first sim, regardless of which is set as default.但是,当您从我们的应用程序拨打电话时,它会使用第一个 SIM 卡,无论哪个设置为默认值。 The only way to have it call from the second sim, is if you deactivate sim1.让它从第二个 sim 调用的唯一方法是停用 sim1。

We are not trying to choose the sim from within our app, simply to use the one that is set as primary on the iPhone.我们不是试图从我们的应用程序中选择 SIM 卡,只是为了使用在 iPhone 上设置为主要的 SIM 卡。

Native Dialer本地拨号器
Primary set as Sim 1 - Calls using Sim 1主要设置为 Sim 1 - 使用 Sim 1 呼叫
Primary set as Sim 2 - Calls using Sim 2主要设置为 Sim 2 - 使用 Sim 2 呼叫

Our app我们的应用
Primary set as Sim 1 - Calls using Sim 1主要设置为 Sim 1 - 使用 Sim 1 呼叫
Primary set as Sim 2 - Calls using Sim 1主要设置为 Sim 2 - 使用 Sim 1呼叫
Primary set as Sim 2 (but with Sim 1 deactivated) - Calls using Sim 2主要设置为 Sim 2(但 Sim 1 已停用)- 使用 Sim 2 进行呼叫

Thanks in advance.提前致谢。

Unfortunately you can't select the sim to call yet.不幸的是,您还不能 select sim 调用。

In the future maybe Apple add that but as you said all calls will directed to the physical sim unless it's deactivated.将来苹果可能会添加它,但正如您所说,所有呼叫都将定向到物理 sim 卡,除非它被停用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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