ios10: viewDidLoad frame width/height not initialized correctly

前端 未结 7 957
闹比i
闹比i 2020-12-07 20:23

Since upgrading to XCode8 GM and ios10, all of my views created via Interface Builder are not being initialized correctly until much much later than expected. This means in

7条回答
  •  轮回少年
    2020-12-07 21:01

    I encountered the same issue and try to solve it without luck by referring above suggestions.

    Seems it should be a bug for Apple to solve. I finally find a solution by changing to save my XIB document back to Xcode 7.x format and my UI back to normal.

    Until Apple releasing a fix, I don't want to spend my time on hacking it.

提交回复
热议问题