ITeye博客

Sending 'ccColor4B' (aka 'struct_ccColor4B') to parameter of incompatible type

wayne173 · 2013-08-09 11:20 · 苹果客户端 · 移动开发 · Markdown

今天遇到了如下的一个错误, Sending 'ccColor4B' (aka 'struct_ccColor4B') to parameter of incompatible type CiColor 网上搜寻解决方案如下,就是要强制设置下类型。 按如下改变:

  • (id) layerWithColor:(ccColor4B)color { return initWithColor:color] autorelease]; //return initWithColor:color] autorelease]; }

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。