获取苹果序列号

问题描述 投票:0回答:1

我正在为公司编写一个应用程序。我的目标是控制公司分发给员工的iPad。我做了一个非常简单的应用程序。当应用程序打开时,我想将下图中的序列号获取到serialnumberTextField中。

我该怎么做?你能帮我吗?

enter image description here

let device = UIDevice.current
let serialNumber = device.identifierForVendor?.uuidString

我尝试过,但这不是我想要的。

ios swift ipad
1个回答
0
投票

应用程序沙箱内的设备控制和管理几乎为零。您(或我)编写的任何应用程序对于此目的在功能上都是无用的。

查看MDM,这是针对Apple设备群组管理问题的正确解决方案。

https://developer.apple.com/documentation/devicemanagement

© www.soinside.com 2019 - 2024. All rights reserved.