Wrong color in Interface Builder's color picker

前端 未结 6 457
夕颜
夕颜 2020-12-08 10:26

I have an UIImageView with a brown image that will not always reach the top part. The UIImage view is inside a white UIView.

So, because the top part of the image is

6条回答
  •  渐次进展
    2020-12-08 11:21

    This is an old question, but it was important for me to add some info. The only method that has been working for me accurately over the years was to not use PS's Color Picker, but use macOS' built-in "Digital Color Meter".

    It's bundled with every installation of macOS and the RGB values emitted from there with "Generic RGB" always reproduce the correct color in Xcode Storyboards.

提交回复
热议问题