简体   繁体   中英

Is there a way to get some sort of SIM card Identifier on iPhone programmatically?

Is there a LEGAL or PUBLIC-API way to obtain some sort of SIM card identifier programmatically, the only thing so far i found is that there is a NSNotification that occurs when SIM card is changed while app is in runtime, but that is not enough for me...

Is there some kind of public API in CoreTelephony that allows some kind of UUID get from SIM card?

The id you are looking for is ICCID (Integrated Circuit Card Identifier) and there is no official api to get that information from an iOS devise programatically, without the risk of getting rejected by app store.

You can check your own in iccid at Settings -> General -> About -> ICCID

其实也没什么可以检索操作员代码,国家代码,但不ICCID。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM