简体   繁体   English

如何使用我的 iOS 应用程序获取 iPhone 中 SIM 卡的 ICCID?

[英]How to get the ICCID of the SIM card that is in the iPhone using my iOS App?

A SIM card contains ICCID ( International Circuit Card ID ). SIM 卡包含ICCID国际电路卡 ID )。 The ICCID is unique in the world. ICCID在世界上是独一无二的。 I need my app get the ICCID of the SIM card that is in the iPhone .我需要我的应用程序获取iPhone 中SIM 卡ICCID Does anyone know whether it is possible, and if possible, how to do?有谁知道这是否可能,如果可能,怎么办?

Are you going to submit your app to the AppStore?您打算将您的应用程序提交到 AppStore 吗? If so you need to know that Apple rejects any application accessing SIM card because they supposed that such behaviors break the user privacy and security, also there is no way in the official SDK to read anything from the SIM card.如果是这样,您需要知道Apple拒绝任何访问SIM卡的应用程序,因为他们认为此类行为破坏了用户的隐私和安全,并且官方SDK中也无法从SIM卡中读取任何内容。 Anyway there are some Private APIs out there that lets you access those SIM card information, but obviously your application will be rejected since Private APIs are not allowed on the AppStore.无论如何,有一些私有 API 可以让您访问这些 SIM 卡信息,但显然您的应用程序将被拒绝,因为 AppStore 不允许私有 API。

根据我的研究,有一些私有 API 可以帮助您获取 IMSI 和 IMEI,但它们不会被 Apple 接受,并且您的申请将在商店中被拒绝。

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

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