Xcode – How to get XY value from ct in Philips Hue?
How to get XY value from ct. Ex: ct = 217, I want to get x="0.3127569", y= "0.32908". I'm able to convert XY value into ct value using this below code. float R1 = [hue[0] floatValue]; float S1 = [hue[1]…