iOS:不推荐使用UDID ... MAC地址? [英] iOS: UDID deprecated... MAC address?

查看:196
本文介绍了iOS:不推荐使用UDID ... MAC地址?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

正如我们所知,Apple正在弃用开发人员对UDID的访问权限。但据我所知,有可能获得iDevice的MAC地址。那么有什么不同呢?
MAC地址和UDID都是硬件的唯一标识符,不是特定于应用程序的。

As we know Apple is deprecating developers' access to UDID. But to my knowledge it is possible to get an iDevice's MAC address. So what's the difference then? Both MAC address and UDID are unique identifier of a hardware, which is not app specific.

推荐答案

一些明显的差异在UDID和MAC地址之间:

Some obvious differences between UDID's and MAC addresses:


  • 可以想象设备可能有多个MAC地址。

  • It's conceivable that a device might have more than one MAC address.

保证MAC地址的唯一性不是Apple的责任。

Guaranteeing uniqueness for MAC addresses isn't Apple's responsibility.

UDID和MAC的大小和格式不同。

UDID's and MAC differ in size and format.

我认为最好考虑弃用UDID作为Apple鼓励开发人员转向其他方式的方法鉴定。例如,通过设置用户ID /密码系统来跟踪用户而不是设备。跟踪UDID会带来一些问题,比如如果用户丢失或出售他或她的设备该怎么办。

I think it's best to consider the deprecation of the UDID as Apple's way of encouraging developers to switch to other means of identification. For example, keep track of the user rather than the device by setting up a userid/password system. Tracking the UDID brings some problems, like what to do if the user loses or sells his or her device.

这篇关于iOS:不推荐使用UDID ... MAC地址?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆