CTCarrier: isoCoutryCode always nil

Using CTTelephonyNetworkInfo to obtain a device's physical SIM status with serviceSubscriberCellularProviders is returning a CTCarrier with the correct carrier name and allowVOIP but return nil for it's Mobile and ISO Country codes.

The SIM has voice/data availability but the API still reports nil values. Force closing the app seems to allow the values to get reset.

Any thoughts behind this intermittent behavior?
Well, clearly that’s a bug and you should file it as such. Please post your bug number, just for the record.

As to a workaround, when you see this happen try releasing your CTTelephonyNetworkInfo object and creating a new one. I’ve seen similar issues like this in the past where the CTTelephonyNetworkInfo object loses its connection to its backing service, which then causes it stop updating properly.

Let us know how that pans out.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"
CTCarrier: isoCoutryCode always nil
 
 
Q