Since Xcode 8 and iOS10, views are not sized properly on viewDidLayoutSubviews

前端 未结 13 1978
北海茫月
北海茫月 2020-11-29 16:48

It seems that with Xcode 8, on viewDidLoad, all viewcontroller subviews have the same size of 1000x1000. Strange thing, but okay, viewDidLoad has n

相关标签:
13条回答
  • 2020-11-29 17:43

    As per new update in ios this is actually a bug but we can reduce this by using -

    If you are using xib with autolayout in your project then you have to just update frame in autolayout setting please find image for this .

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