Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode 8 MainStoryboard showing blue rectangles instead of objects

Tags:

I have latest version of Xcode 8 official release, and Im seeing blue rectangles borders filled white, instead of normal objects(Labels, Images, etc) on the main storyboard, I Drag an Image, button or anything and it just shows a blue rectangle (I don't see the object inside the rectangle, just an empty blue bordered rectangle), I attach an image for you guys to see, Any clue on how to solve it? Someone else with the same issue? This is happening an all My projects, and just start happening suddenly.. since the first day I was having no issue with this Xcode version.

enter image description here

like image 546
Mago Nicolas Palacios Avatar asked Sep 24 '16 16:09

Mago Nicolas Palacios


2 Answers

You may have accidentally switched on Layout Rectangles within Editor -> Canvas in Xcode menu.

enter image description here

like image 61
pedrouan Avatar answered Sep 23 '22 16:09

pedrouan


The contents of my storyboard views were actually not showing AND had blue rectangles, while 'Show Layout Rectangles' was NOT on. I was also surprised to see 'Show Bounds Rectangles' since I never turned them on (awesome Xcode ghost move here)

Not seeing view content AND blue rectangles

Note: Even though I did try turning 'Show Bounds Rectangles' off, the blue rectangles remained.

Solution: Restarting the computer. Opened to my storyboard and at least for me, I had to turn off 'Show Bounds Rectangles' because it still remained. I can see my content again, yay!

(seeing on Xcode 8.0)

like image 27
klopez Avatar answered Sep 25 '22 16:09

klopez