问题
After updating to the latest Xcode, into storyboard I am not able to see actual custom color hex code. It is showing a white(FFFFFF) color hex code all time. Can someone please help me with this? Please check the below screenshot.
回答1:
I have noticed this same problem since the latest XCode Version 12.0.1.
A workaround that works for me is to
- Click on the custom color to bring up the color chooser.
- The color chooser is the wrong color, but tap on any other color in the color chooser.
- Tap Cmd+Z to undo the color change. Magically the original custom color is now selected in the color chooser.
来源:https://stackoverflow.com/questions/64534173/storyboard-is-not-showing-custom-color-hex-code-in-xcode-12-0-1