[Solved] How i can sort 15 views by color ios
[ad_1] You can get the components of UIColor like this: CGFloat *components = CGColorGetComponents(color); Then get the RGB values: components[0],components[1],components[2] 1 [ad_2] solved How i can sort 15 views by color ios