Hello Folks,
I recently came through a new API introduced from iOS 18 onwards isSIMInserted and according to the document it is A Boolean property that indicates whether a SIM is present. I really appreciate Apple for introducing such an useful API but there are few queries on what are the requirements for using this API.
Query 1: Do we need any special entitlements for making use of this API. ? If yes then what are those entitlements and are these entitlements available openly or we have to raise special request to apple for such entitlements?
Query 2: What are the entries required to be added in info.plist for supporting the isSIMInserted api to work.
Query 3: Is isSIMInserted api available for all type of apps because mine is a financial stock related app and i am looking forward to use this API for providing more security to the end user while registering through sms. As per the below link this api is only available for mobile Carrier apps but in official document there is no such mention. https://forums.developer.apple.com/forums/thread/760991
Please kindly help me on these queries ?
Regards, Carol
This API is intended to be used by carrier apps. It’s not appropriate for other purposes.
If you look at the other APIs in the <CoreTelephony/CTSubscriber.h>
header they all have this text:
This method is only available to carrier apps with suitable entitlements.
I filed a bug to get that clarified for this API as well (r. 142540457)
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"