Storyboard View Elements Greyed Out Storyboard View Elements Greyed Out xcode xcode

Storyboard View Elements Greyed Out


The problem is probably related to Size Classes. If you have the option enabled make sure that the views were created for the size class that you have currently selected in IB (the grid thing).


If you want to make sure it works with any width and height, find the constraint:

wAny hR

and remove it by clicking on the x, leaving only installed checked:

wAny hAny


I think Xcode will stop adding these automatically if you set the view to Any Width | Any Height in the Storyboard:

storyboard bottom bar


Check that Installed is checked at the bottom of the Attributes Inspector

enter image description here