获取iOS 8上的设备序列号 [英] Get serial number of device on iOS 8

查看:315
本文介绍了获取iOS 8上的设备序列号的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

对于内部应用程序,我们使用以下代码 UIDevice + serialNumber 来获取设备序列号。
但是,似乎在iOS 8中,注册表项IOPlatformSerialNumber为空。
可以通过其他方式获得序列号吗?

For an in-house application, we were using the following code UIDevice+serialNumber to get the device serial number. However, it seems that with iOS 8, the registry key "IOPlatformSerialNumber" is empty. Can the serial number be obtained any other way?

推荐答案

答案:否。

目前有滥用.mobileconfig的浮动解决方案,但由于它们的性质,它们会增加其他问题。

There are currently floating solutions around abusing the .mobileconfig, but they add other problems due their nature.

UUID因某种原因被删除。从2011年开始,查看美国Senat关于隐私和Apple召唤的消息,以了解为何必须更改。
http://arstechnica.com/apple/2011/04/apple-google-asked-to-join-judiciary-hearing-on-mobile-device-privacy/

UUID was removed for a reason. See the news around privacy and the summon of Apple by the US Senat from 2011 to gain an understanding why this had to be changed. http://arstechnica.com/apple/2011/04/apple-google-asked-to-join-judiciary-hearing-on-mobile-device-privacy/

滥用底层march端口获取设备序列号作为UUID的替换不是解决方案。现在同样滥用移动配置并猜测它会工作多长时间。

Abusing the underlying march port to get the device serial number as replacement of the UUID is not the solution. Same now for abusing the mobile config and guess how long that will work.

你有很多不错的方法可以处理以前使用设备识别的任何情况。特别是在您拥有加密和MDM的企业环境中,绝对没有必要跟踪这样的设备。

You have plenty of decent ways to handle any situation where you used device identification before. Especial in an enterprise environment where you have cryptography and MDM is absolutely no point to track a device like this.

这篇关于获取iOS 8上的设备序列号的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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