【发布时间】:2011-11-08 14:12:36
【问题描述】:
我基于cocos2d-box2d新建了一个项目,两个文件中总是有4个warning,一个是CLScoreServerPost.m,代码有warning如下
[self addValue:[[UIDevice currentDevice] uniqueIdentifier] key:@"cc_device_id"];
另一个是CLScoreServerRequest.m,代码有警告如下
device = [[UIDevice currentDevice] uniqueIdentifier];
它们都显示相同的警告:'uniqueIdentifier' 已弃用
那我该怎么办?非常感谢
【问题讨论】:
标签: cocos2d-iphone box2d uniqueidentifier