XCode 8 - How to solve an Auto resizing issue on XCode version 8.0?

只愿长相守 提交于 2020-01-10 19:33:33

问题


I used XCode version 7.2.1 for my project. But I updated the XCode version 8.0 now. Though the scroll view is messed in view controllers of my project. Here I have used Resizing only not an Auto layout. I referred many forums. But can't able to find a solution for that. Here I have attached similar links to what I had tried.

Xcode 8 GM seed Storyboard layout issue

Layout issues after updating to Xcode 8

I have to update frame of everything in storyboard every time I start Xcode

What is the exact solution for Scroll view resizing issue in XCode version 8.0?


回答1:


Its work for me

https://stackoverflow.com/a/39770664/6619234 you can try this...

after Save & Close don't open this xib/Storyboard....it is an temporary solution....till the apple fix it..




回答2:


Apple just came out with XCode 8.2, which fixes this problem for me. I have been using XCode 7.3.1 for my interface design parallel to 8.1, but I can now use 8.2 without any problems.

The storyboard gets updated with widths and height of frames though, to accommodate the new 'View as:' functionality. Though it doesn't seem to affect running on device/simulator.

Curiously, the bugfix it is not noted in the XCode 8.2 release notes.




回答3:


I was able to solve the same by selecting my xib files and then I selected my view in the xib after that I went to attribute inspector and changed the size, status bar, top bar and bottom bar as inferred and it worked but before that xocode pointed out I am missing 2x retina display file so I clicked the warning and it was added automatically.




回答4:


I asked to Apple about this same issue, and they have sent the following message to my inbox:

Hello Raja,

Engineering has determined that your bug report (28489404) and will be closed.



来源:https://stackoverflow.com/questions/39674998/xcode-8-how-to-solve-an-auto-resizing-issue-on-xcode-version-8-0

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!