Storyboard is not showing custom color hex code in XCode 12.0.1

孤者浪人 提交于 2020-12-26 07:16:12

问题


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

  1. Click on the custom color to bring up the color chooser.
  2. The color chooser is the wrong color, but tap on any other color in the color chooser.
  3. 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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!