Missed views every time I open the storyboard

I use a storyboard with some ViewControllers that have items that are autostarted. Every time I open the storyboard, I get non-local views even after I fix them all . I have to update frames again and again. Is there any way to fix this? I am using xcode 6.

+6
ios autolayout
Oct. 14 '14 at 7:10
source share
2 answers

As @Anil Varghese pointed out that the problem is the size of the view. Everything except WAny hAny will raise this warning when you open the storyboard file. I think this is an Xcode error. enter image description here

Therefore, I needed to make sure that my views were configured as in the picture above. This means designing for all sizes, so in my case my user interface got messed up and I had to redesign it. But it was for the best!

When you switch to wAny hAny, you will see elements that become invisible because they are tied to other size classes (e.g. wCompact hAny). You need to remove these rules from the attribute inspector.

+4
Feb 25 '15 at 17:20
source share

I have the same problem, and I also did not know how to completely fix it, but I found this way to show what I want.

"Reset to proposed restrictions

then I returned the storyboard "w Compact h Regular".

Hope this can help you.

0
May 11 '15 at 11:11
source share



All Articles