ios - 如何检测 iOS 中的 sim 更改
<p><p>我正在实现货币转账移动应用程序,我必须获取有关特定 iOS 设备上独特内容的信息。我必须检测 sim 变化。</p>
<p>我浏览了许多链接 <a href="https://stackoverflow.com/questions/19179799/how-to-identify-ios-device-uniquely#comment34664042_19179896" rel="noreferrer noopener nofollow">how to identify ios device uniquely</a> </p>
<p>和</p>
<p> <a href="https://stackoverflow.com/questions/10872117/is-it-possible-to-determine-if-the-sim-phone-number-has-changed" rel="noreferrer noopener nofollow">Is it possible to determine if the SIM/Phone number has changed?</a> </p>
<p>但它们没有用,而且如果用户在应用未运行时移除 sim,则无法检测到。</p></p>
<br><hr><h1><strong>Best Answer-推荐答案</ strong></h1><br>
<p><p>您应该使用subscriberCellularProviderDidUpdateNotifier 在
<a href="http://developer.apple.com/library/ios/#documentation/NetworkingInternet/Reference/CTTelephonyNetworkInfo/Reference/Reference.html" rel="noreferrer noopener nofollow">http://developer.apple.com/library/ios/#documentation/NetworkingInternet/Reference/CTTelephonyNetworkInfo/Reference/Reference.html</a> </p>
<p>这篇文章也包含答案
<a href="https://stackoverflow.com/questions/11789357/detect-sim-change-or-find-imsi-of-the-sim-using-official-ios-sdk" rel="noreferrer noopener nofollow">Detect SIM change OR find IMSI of the SIM using official iOS SDK?</a> </p>
<p> <a href="https://stackoverflow.com/questions/19374827/detect-sim-card-replacment" rel="noreferrer noopener nofollow">Detect SIM card replacement</a> </p>
<p>编辑:请浏览此链接并查看 CoreTelephony FrameWork
<a href="https://stackoverflow.com/questions/10872117/is-it-possible-to-determine-if-the-sim-phone-number-has-changed" rel="noreferrer noopener nofollow">Is it possible to determine if the SIM/Phone number has changed?</a> </p></p>
<p style="font-size: 20px;">关于ios - 如何检测 iOS 中的 sim 更改,我们在Stack Overflow上找到一个类似的问题:
<a href="https://stackoverflow.com/questions/26114002/" rel="noreferrer noopener nofollow" style="color: red;">
https://stackoverflow.com/questions/26114002/
</a>
</p>
页:
[1]