iOS 8 / XCode 6 autolayout constraints applied after view appears

前端 未结 3 660
谎友^
谎友^ 2020-12-29 04:20

I have a project that was working just fine with XCode 5 and iOS 7, but when I recently downloaded XCode 6, I noticed some weird behavior with autolayout.

I have a s

3条回答
  •  既然无缘
    2020-12-29 04:56

    I had a similar issue and put items into a container view in preparation for hiding and then showing them as suggested in the other answer.

    I didn't love that as a solution and ended up not having to do it.

    Simply putting them in a container view that was pegged to the controller's view stopped the issue from happening.

提交回复
热议问题