Ios5 带iOS 5 SDK的游戏中心-排行榜代表=自行不工作

Ios5 带iOS 5 SDK的游戏中心-排行榜代表=自行不工作,ios5,sdk,automatic-ref-counting,game-center,Ios5,Sdk,Automatic Ref Counting,Game Center,我仍然在使用iOS5SDK和Xcode 4.2(雪豹)。我正在将Game Center添加到我的游戏中,当它通过身份验证时,每当我尝试使用以下代码显示排行榜时,我都会收到一个ARC错误(来自苹果): 我得到这个错误: Passing "ViewController *const__strong' to parameter of incompatible type 'id <GKLeaderboardViewControllerDelegate>" 将“ViewController*

我仍然在使用iOS5SDK和Xcode 4.2(雪豹)。我正在将Game Center添加到我的游戏中,当它通过身份验证时,每当我尝试使用以下代码显示排行榜时,我都会收到一个ARC错误(来自苹果):

我得到这个错误:

Passing "ViewController *const__strong' to parameter of incompatible type 'id <GKLeaderboardViewControllerDelegate>"
将“ViewController*const\u strong”传递给不兼容类型“id”的参数
除了在lion上使用iOS 6 SDK,还有其他解决方案吗

谢谢

发现类似问题,使用id(self)修复

我是否应该删除此问题>

Passing "ViewController *const__strong' to parameter of incompatible type 'id <GKLeaderboardViewControllerDelegate>"