I am developing an iOS application. In that i should show a status of their cellular provider such as Active, Inactive, or sim not available. Which also includes physical and eSim. I used Telephony.CTcarrier
. One thing its deprecated and another case iOS 15 and below, even if i put my device in Airplane mode still its returning the carrierName and NetworkCode.
Is there any specific API to retrieve these realtime data?
TIA
Is there any specific API to retrieve these realtime data?
Not via APIs in the iOS SDK.
If you’re working for on behalf of a carrier, you should discuss your goals with your carrier’s contact at Apple. If not, this sort of information is not available in any reliable way.
if i put my device in Airplane mode still its returning the carrierName and NetworkCode.
Right. This is more fallout from the ‘latching’ behaviour I mentioned in your other thread.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"