【问题标题】:Get UDID through my iPhone Application in iOS 7.0 [duplicate]在 iOS 7.0 中通过我的 iPhone 应用程序获取 UDID [重复]
【发布时间】:2014-01-28 10:04:08
【问题描述】:

我在几个月前创建了用于获取 UDID 的应用程序,它在 iOS 6 上运行良好,但没有提供 iOS 7.0,为了从 iOS7.0 设备获取 UDID,我看到一些 mobileconfig 类型的东西会起作用。但我做不到这一点。

提前致谢。

【问题讨论】:

标签: iphone objective-c ipad ios7


【解决方案1】:

请参阅此以获取替代方案。 UDID 现在已弃用,将导致拒绝。

An alternative to the device UDID - preparing ourselves

【讨论】:

【解决方案2】:

由于安全/隐私原因,UDID 在 iOS 6+ 中不再可用。

替代解决方案:请参阅此link。

【讨论】:

    【解决方案3】:

    试试这个:

    [[[UIDevice currentDevice] identifierForVendor] UUIDString];
    

    【讨论】:

    • 这在 iOS 7.0 中已被弃用 我需要类似 [get.udid.io] what they have done with I want to do like that ...
    猜你喜欢
    • 2012-11-07
    • 1970-01-01
    • 2016-06-10
    • 2020-04-05
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-04-19
    • 1970-01-01
    相关资源
    最近更新 更多