【问题标题】:[UIDevice currentDevice].identifierForVendor.UUIDString returns all zeros [duplicate][UIDevice currentDevice].identifierForVendor.UUIDString returns all zeros [duplicate]
【发布时间】:2012-12-27 06:25:45
【问题描述】:

我有 iPhone 4 和 iOS 6.0 。
此属性

[UIDevice currentDevice].identifierForVendor.UUIDString 

总是返回全零 (00000-----)。
帮我解决这个问题。
我在谷歌搜索过。
我做了重启,删除了应用程序...。但是没有用。

【问题讨论】:

    标签: ios objective-c uniqueidentifier udid


    【解决方案1】:

    identifierForVendor 可能需要您在苹果的会员中心拥有一个注册的应用 ID,并且它是唯一的(不是通配符 ID)。因为这应该是从应用 ID 的某些部分生成 UUID。

    您的应用 ID 是否设置为唯一的,例如: com.mycompany.myapp

    在你的列表中?

    【讨论】:

      猜你喜欢
      • 2011-06-03
      • 1970-01-01
      • 1970-01-01
      • 2023-03-10
      • 2013-01-02
      • 2011-01-28
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多