【发布时间】:2014-03-24 11:48:04
【问题描述】:
PCSEQAudioBar
嗨,我正在开发一个使用 PCSEQAudioBar 的应用程序,它在 Xcode 5.0.2 上运行良好,在将其更新到 5.1 后,我突然开始这个错误..我不能编译我的代码或部署它或任何东西......
Incompatible pointer types passing retainable parameter of type 'CFArrayRef' (aka 'const struct __CFArray *')to a CF function expecting 'const CGFloat *' (aka 'const float *') type
我在这一行遇到了这个错误……
CGGradientRef _gradientRef = CGGradientCreateWithColorComponents(rgb, (__bridge CFArrayRef) colors, NULL, sizeof(colors) / (sizeof(colors[0]) * 4));
请帮忙...提前谢谢..
【问题讨论】:
标签: ios objective-c xcode compiler-errors