48

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?

IPS Brar
  • 346
  • 1
  • 14
Deepak Chaudhary
  • 1,723
  • 1
  • 15
  • 29

7 Answers7

137

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.

shim
  • 9,289
  • 12
  • 69
  • 108
Paola Quintero
  • 1,486
  • 1
  • 10
  • 5
30

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.

Bijender Singh Shekhawat
  • 3,934
  • 2
  • 30
  • 36
5

enter image description here

Got to Xcode and refer screenshot

Wasim
  • 921
  • 12
  • 14
3

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)

Mujahid Latif
  • 596
  • 7
  • 18
1

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

AlexH
  • 828
  • 7
  • 26
deepak
  • 78
  • 4
0

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

Grigorii
  • 43
  • 6
0

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