OGeek|极客世界-中国程序员成长平台

标题: ios - 如何检测 iOS 中的 sim 更改 [打印本页]

作者: 菜鸟教程小白    时间: 2022-12-13 09:32
标题: ios - 如何检测 iOS 中的 sim 更改

我正在实现货币转账移动应用程序,我必须获取有关特定 iOS 设备上独特内容的信息。我必须检测 sim 变化。

我浏览了许多链接 how to identify ios device uniquely

Is it possible to determine if the SIM/Phone number has changed?

但它们没有用,而且如果用户在应用未运行时移除 sim,则无法检测到。



Best Answer-推荐答案


您应该使用subscriberCellularProviderDidUpdateNotifier 在 http://developer.apple.com/library/ios/#documentation/NetworkingInternet/Reference/CTTelephonyNetworkInfo/Reference/Reference.html

这篇文章也包含答案 Detect SIM change OR find IMSI of the SIM using official iOS SDK?

Detect SIM card replacement

编辑:请浏览此链接并查看 CoreTelephony FrameWork Is it possible to determine if the SIM/Phone number has changed?

关于ios - 如何检测 iOS 中的 sim 更改,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26114002/






欢迎光临 OGeek|极客世界-中国程序员成长平台 (http://sqlite.in/) Powered by Discuz! X3.4