Storyboard View Elements Greyed Out

IosXcodeUistoryboardXcode6 Beta7

Ios Problem Overview


I'm currently trying to edit a storyboard file, in Xcode 6 (not sure if this is an Xcode bug, or if i've just done something), and when I go to the view i want to edit this is what the scene shows me : Problem

Is this something I've enabled accidentally? or if it's an Xcode problem. It first did this after I enabled source control for the project.

Anyone have an idea on how to fix?

Ios Solutions


Solution 1 - Ios

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).

Solution 2 - Ios

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

Solution 3 - Ios

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

enter image description here

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionAlex TrottView Question on Stackoverflow
Solution 1 - IosAlladinianView Answer on Stackoverflow
Solution 2 - IosjomoView Answer on Stackoverflow
Solution 3 - IospkambView Answer on Stackoverflow