Text views and image view disappearing from view controller in Xcode 6.1 storyboard

前端 未结 6 581
情书的邮戳
情书的邮戳 2020-12-05 04:21

I updated to Xcode 6.1 to fix an error I was having with the Interface Builder Cocoa Touch Tool spiking to 99% CPU usage when I used the storyboard, which would freeze Xcode

相关标签:
6条回答
  • 2020-12-05 04:51

    I just installed XCode 6.2 Beta and the issue seems to be fixed there.

    0 讨论(0)
  • 2020-12-05 04:54

    If you uncheck "Use Autolayout" then it won't occur either. Though, you're back to using the old "springs and struts" method. Still, this can be set on a view controller by view controller basis so it's not too bad.

    0 讨论(0)
  • 2020-12-05 04:55

    There are 2 types of 1 is main storyboard and 2 is launchscreen storyboard Your are placing all your views on launchscreen this appears when you app first time then it will not appear Place all your views on main storyboard instead of launchscreen

    0 讨论(0)
  • 2020-12-05 04:56

    Seems it's a bug in Xcode 6.1 !! The current solution is you should resize your elements from the Size Inspector.

    Never do the resizing by mouse...

    0 讨论(0)
  • 2020-12-05 04:58

    Another workaround is to add constraints to the layout Before resizing of any views. (add missing constraints e.g.). The bug only seems to occur when there are no constraints available. I have reported the bug to Apple with Bugreporter.

    Edit: So, at least it seems that Apple Bugreporter is working. The problem is fixed in XCode v 6.1.1.

    0 讨论(0)
  • 2020-12-05 05:01

    I was having the same problem. I just went to the Apple Developer website and downloaded the beta version of the new Xcode and they fixed this bug!

    0 讨论(0)
提交回复
热议问题