Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to hide Blue line covering views in xib/Storyboard in Xcode 7.2

enter image description here I am using xcode 7.2, in xib when i insert any view, label,txtField etc., all are showing this covering blue line. now it is very hard to insert/manage new view or anything in xib due to this line. Does anybody know how to hide these?

like image 950
Deepak Chaudhary Avatar asked Feb 22 '16 12:02

Deepak Chaudhary


People also ask

How do you hide your view on storyboard?

Select one of your views to 'hide' and in Utilities Pane, select Size inspector and set your X (horizontal) value to 1000 - which will slide the view off the screen, allowing you access to layers below.

What is better XIB or storyboard?

Storyboards - this is a visual tool for laying out multiple application views and the transitions between them (segues). XIBs (or NIBs) - each XIB file corresponds to a single view element and can be laid out in the Interface Builder, making it a visual tool as well.


2 Answers

Same thing happened to me. 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. Some time this is not work in first time.

like image 93
Paola Quintero Avatar answered Sep 28 '22 11:09

Paola Quintero


For Xcode 13 and Xcode 12, repeat this step 3 times. XCode: Editor > canvas > Bounds rectangles.

For Xcode 11 and Xcode 10, repeat this step 3 times. XCode: Editor > canvas > show Bounds rectangles. This is a bug in Xcode 11 Xcode 10.

like image 30
Bijender Singh Shekhawat Avatar answered Sep 28 '22 11:09

Bijender Singh Shekhawat