Xcode7 for xcode8 storyboard problem

I just installed the new xcode 8 and gave me the option to allow the old (xcode7) storyboard in a new format. I did it and everything looked good.

Then, when I started the application, I noticed that some of my user interfaces were confused, in particular UIImageViews. In the debugger, I did some research and found out that these views have no limits, although I customize them in my storyboard.

EDIT: after some investigation, I noticed one thing. I check the properties of my views in viewWillAppear, and at that time the view that should be configured from the storyboard has these random values ​​(frame, constraints, etc.). When I check these views in viewDidAppear, all the values ​​are true as they defined int he storyboard.

Here is another post related to the problem I am describing, I think: When is the view frame size set in the iOS10 SDK?

Has anyone experienced a similar problem?

Any help is appreciated.

+4
source share

Source: https://habr.com/ru/post/1654621/


All Articles