Deepak Chaudhary
Deepak Chaudhary

Reputation: 1761

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

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?

Upvotes: 50

Views: 19575

Answers (7)

user2253720
user2253720

Reputation: 87

In Xcode 14. It could be either: Editor > Canvas > Layout Rectangles or Bounds Rectangles. Uncheck both.

Upvotes: 1

Bijender Singh Shekhawat
Bijender Singh Shekhawat

Reputation: 4474

For Xcode 14 and 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.

Upvotes: 31

deepak
deepak

Reputation: 78

If none of the answers above did not work, try restarting your system.

Upvotes: 1

Grigorii
Grigorii

Reputation: 43

Try to select another device in storyboard (iPhone lower than 10 works for me) and reload Xcode image

Upvotes: 0

Paola Quintero
Paola Quintero

Reputation: 1536

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.

Upvotes: 142

Mujahid Latif
Mujahid Latif

Reputation: 616

I have followed @Paola 's answer. but did not work for me .In addition I enabled and disabled it again than it removed blue lines. (Xcode Version 9.4)

Upvotes: 3

Wasim
Wasim

Reputation: 1140

enter image description here

Got to Xcode and refer screenshot

Upvotes: 5

Related Questions