简体   繁体   English

有没有办法以编程方式在iPhone上获取某种SIM卡标识符?

[英]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... 是否有一种LEGALPUBLIC-API方式以编程方式获取某种SIM卡标识符,到目前为止,我发现的唯一事情是,当应用程序在运行时更改SIM卡时会发生NSNotification ,但这还不够为了我...

Is there some kind of public API in CoreTelephony that allows some kind of UUID get from SIM card? CoreTelephony中是否有某种公共API,允许从SIM卡获取某种UUID

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. 您要查找的ID是ICCID (集成电路卡标识符),并且没有官方的api可以通过编程方式从iOS设计中获取该信息,而不会被应用商店拒绝。

You can check your own in iccid at Settings -> General -> About -> ICCID 您可以在iccid中通过Settings -> General -> About -> ICCID

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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