objective c - iOS' equivalent to [NSColor colorUsingColorSpaceName:NSCalibratedRGBColorSpace] -
what uicolor's equivalent nscolor's:
nscolor *newcolor = [somecolor colorusingcolorspacename:nscalibratedrgbcolorspace] not uicolor, supported on ios same thing fine.
there no simple equivalent, you'll need bit of work extract components somecolor (based on colour space of cgcolor) , create new color using cgcolorcreate. you'll need convert colour components yourself.
Comments
Post a Comment