Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode 8.1 storyboard showing blue lines only

I installed Xcode 8.1 and the storyboard shows only blue lines, for all UI elements. If someone has figured it out let me know. I am unable to revert it to even Xcode 8.0.

like image 290
Majid Bashir Avatar asked Oct 28 '16 08:10

Majid Bashir


People also ask

How do I get rid of blue lines in Xcode?

In Xcode: Editor > canvas > show bounds rectangles. This option show/hide the blue lines. If you found this one not work first time, try twice toggling the show bounds rectangles option.

Why is Main storyboard not showing up in Xcode?

You have SwiftUI enabled in your project, which does not use storyboards anymore. Your layout is inside the ContentView. swift file. If you do want to work the old way, with storyboards, you should uncheck 'Use SwiftUI' in the project creation screen.

How do I see storyboard in Xcode?

To get this, open the storyboard, click the 'assistant' editor, click the 'assistant editor menu button' (immediately to the right of the > arrow at the top left of the assistant window) and select Preview.


1 Answers

Don't worry revert back to old xcode

To remove the blue lines,

First, select a view controller in the storyboard.

Then, go to Editor > Canvas > Show Bounds Rectangles

This will hide the blue lines.

You may have to repeat this 2 or 3 times to make it work.

Image Link

like image 69
Bhavi Lad Avatar answered Sep 28 '22 06:09

Bhavi Lad