Does the information on a CTCarrier change to different countries?

The documentation is unclear, is CTCarrier information tied to the sim card, or is it about the cell tower you are connected to. For instance, if I lived near the border of two countries and my phone switches from a cell tower in one country, to the cell tower of another country, will the country code property change?

https://developer.apple.com/documentation/coretelephony/ctcarrier

Answered by DTS Engineer in 715287022

Which bit? Scott made two points:

It’s information about the SIM

You get CTCarrier objects using CTTelephonyNetworkInfo, and the docs for that make this very clear: It “gives you access to the CTCarrier object, which contains information about the user’s home cellular service provider.”

There’s no public API to get the identity of the currently connected network.

This isn’t specifically documented because our documentation generally focused on what is possible rather than what isn’t [1].

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

[1] Every now and again DTS publishes a doc like QA1944 Sending SMS Programmatically, but such questions have to be asked many times to justify it.

It’s information about the SIM and it doesn’t change based on location or what network the phone is actually connected to. (If it did, then it would be leaking information about the user’s location without permission.) There’s no public API to get the identity of the currently connected network.

Accepted Answer

Which bit? Scott made two points:

It’s information about the SIM

You get CTCarrier objects using CTTelephonyNetworkInfo, and the docs for that make this very clear: It “gives you access to the CTCarrier object, which contains information about the user’s home cellular service provider.”

There’s no public API to get the identity of the currently connected network.

This isn’t specifically documented because our documentation generally focused on what is possible rather than what isn’t [1].

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

[1] Every now and again DTS publishes a doc like QA1944 Sending SMS Programmatically, but such questions have to be asked many times to justify it.

You know what I missed, the keyword "home". We have legal restrictions that require us to make sure our customers are in a specific country at point of registration. We have multiple mechanisms for checking this. My research here is to discover whether or not CTCarrier can be used. The answer is, no, it can not.

Does the information on a CTCarrier change to different countries?
 
 
Q