Unknown color for background color attribute

Getting a compiler warning:

Unsupported Configuration: 
Unknown pattern color for the Background Color attribute

on my xib when trying to set the background color of the UIView to be cleaned in the interface builder. I swear I made UIView clear in the past without any problems. Google does not give me anything useful. I feel that there is a simple answer here, but after 14 hours on the keyboard (and not on this question) my tired mind does not understand this.

+5
source share
3 answers

I had a lot of problems with the same problem. I solved it this way "select UIView in the interface builder, background color first set the default color to the option and build it."

+5
source

Mavericks Xcode 5.1.1

, clearColor, , Apple, iPhone. , , , - , , . , IB, - .

Default, . UIView, , , .

,

Background selection control

+1

This will be a compile-time error in Xcode 8 (beta). The storyboard is not even open. Therefore, we need to open the storyboard in editor mode in Xcode 7.x and look for the text of the “template” and find the representation, as suggested by @Gordon Dove, and fix it by changing the template to a simple color. enter image description here

0
source

All Articles