如何以编程方式获取 iPhone 国际移动设备标识?

发布于 2024-08-08 02:16:14 字数 323 浏览 3 评论 0原文

调用 #*06# 告知 IMEI(国际移动设备身份 )的设备。 我检查了国际编号计划,发现这实际上是 IMEI 号码。

是否可以通过编程方式获取它?

谢谢

calling #*06# tells the IMEI ( International Mobile Equipment Identity ) of the device.
I checked International Numbering Plans and found out that this actually is the IMEI number.

Is it possible to obtain it programmatically?

Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

︶葆Ⅱㄣ 2024-08-15 02:16:14

您无法以编程方式获取设备 IMEI。然而 UIDevice 类具有“唯一设备标识符”属性。

@property(nonatomic, readonly, retain) NSString *uniqueIdentifier

唯一设备标识符是由各种硬件标识符(例如设备序列号)组成的哈希值。它保证对于每台设备都是唯一的,但不能公开绑定到用户帐户。例如,您可以使用它在中央服务器中存储游戏的高分或控制对注册产品的访问。唯一设备标识符有时用其缩写 UDID 来表示。

You cannot get device IMEI programmatically. However UIDevice class has "unique device identifier" property.

@property(nonatomic, readonly, retain) NSString *uniqueIdentifier

A unique device identifier is a hash value composed from various hardware identifiers such as the device’s serial number. It is guaranteed to be unique for every device but cannot publically be tied to a user account. You can use it, for example, to store high scores for a game in a central server or to control access to registered products. The unique device identifier is sometimes referred to by its abbreviation UDID.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文