xcode 8.1 storyboard showing blue lines only

2019-02-21 13:15发布

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

4条回答
走好不送
2楼-- · 2019-02-21 13:54

Ok, So finally I too got the blue line problem in Xcode 8.1

Here is the screenshot

enter image description here

We can see something like An internal error occurred. Editing functionality may be limited and a Report a Bug button on right side.

Don't know the reason why it happened. But I just quit Xcode and Simulator and again restarted it. That fixed and I got the UI elements back.

查看更多
淡お忘
3楼-- · 2019-02-21 13:54

Don't worry revert back to old xcode

To remove the blue lines,

In Xcode, Go to Editor > Canvas > Show Bounds Rectangles

This will hide the blue lines

Image Link

查看更多
Deceive 欺骗
4楼-- · 2019-02-21 13:59

This has happened to me on several occasions. For me it almost always occurred after dragging a UILabel from a UITableView cell into a different view.

I was able to fix the problem by deleting the ViewController in the storyboard that I did the dragging to/from, closing the app, and reopening the project.

查看更多
你好瞎i
5楼-- · 2019-02-21 14:08

Seeing the blue rectangles is actually a feature of Xcode editor. You can turn this On/Off by going to Editor menu->Canvas->Show Bounds Rectangles

But yes, seeing just the blue boxes seems to be a bug. Usually happens if you have been switching between various versions of Xcode frequently. I guess quitting and reopening Xcode shall resolve this temporary issue.

查看更多
登录 后发表回答