简体   繁体   English

iOS 6:iPhone 3GS上的UUIDString

[英]iOS 6: UUIDString on iPhone 3GS

I've been working on ASIdentifierManager framework to get the new UUIDString , the identifier should replace in iOS 6 the UDID, and can be stopped or not by the user for Settings. 我一直在研究ASIdentifierManager框架以获取新的UUIDString ,标识符应该在iOS 6中替换UDID,并且用户可以停止或不停止设置。

Everything is ok on simulators and iPhone 4S, but on iPhone 3GS (it's iOS 6 updated!) I'm getting as UUIDString the following: 在模拟器和iPhone 4S上一切都还可以,但在iPhone 3GS上(它的iOS 6更新了!)我得到的UUIDS字符串如下:
00000000-0000-0000-0000-000000000000 00000000-0000-0000-0000-000000000000

This is how I'm getting it: 这就是我得到它的方式:

if ([ASIdentifierManager sharedManager])        
    NSLog(@"%@", [[[ASIdentifierManager sharedManager] advertisingIdentifier] UUIDString]);

Does anyone know why? 有谁知道为什么? Have you encountered this problem? 你遇到过这个问题吗?

Thanks 谢谢

According to this article 根据这篇文章

http://techcrunch.com/2012/09/27/source-apples-udid-replacement-for-advertisers-in-ios-6-is-broken/ http://techcrunch.com/2012/09/27/source-apples-udid-replacement-for-advertisers-in-ios-6-is-broken/

there are serious problems with the new advertising identifier in iOS 6. It is claimed that on devices that were updated to iOS 6 via Wi-Fi, the advertising identifier contains only zeros. iOS 6中的新广告标识符存在严重问题。据称,在通过Wi-Fi更新到iOS 6的设备上,广告标识符仅包含零。

According to that article, the problem does not occur on devices that were updated via iTunes. 根据该文章,在通过iTunes更新的设备上不会出现此问题。

Even if that does not solve your problem, it might help to explain it. 即使这不能解决您的问题,也可能有助于解释它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM