Tag: cgcolor

从UIColor中提取rgb

看到这个问题之前,但我的例子似乎并没有工作。 const CGFloat *toCol = CGColorGetComponents([[UIColor greenColor] CGColor]); 用GDB查看数组是空的。 任何提示?