serviceSubscriberCellularProviders was deprecated in iOS 16.0

In our app, we are retrieving the SIM card country code.

CTTelephonyNetworkInfo().serviceSubscriberCellularProviders

But 'serviceSubscriberCellularProviders' was deprecated in iOS 16.0 with no replacement.

So in iOS 17, is there any other way to get a SIM card-based country code?

So in iOS 17, is there any other way to get a SIM card-based country code?

See the extended discussion of this topic on this thread.

Share and Enjoy

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

serviceSubscriberCellularProviders was deprecated in iOS 16.0
 
 
Q