Serious SpriteKit UIColor bug on iPhone 5S
问题 I've found a serious swift-bug in SpriteKit while working with SKSpriteNodes and their colors. This code works fine on all iPhones beside the iPhone 5S: var color1 = UIColor(red: 123/255, green: 123/255, blue: 123/255, alpha: 1) var color2 = UIColor(red: 123/255, green: 123/255, blue: 123/255, alpha: 1) var sprite = SKSpriteNode(color: color1, size: CGSizeMake(100, 100)) if(sprite.color == color2){ println("Same color") } As you see, the two colors are the absolut same. But on the iPhone 5S