Weird animations when changing NavigationItem prompt

前端 未结 3 1396
[愿得一人]
[愿得一人] 2021-02-19 21:49

I have these ViewControllers added in storyboard:

\"enter

None is connected with a

3条回答
  •  粉色の甜心
    2021-02-19 21:57

    I think this problem occurs when view is getting autolayout and setting it size to main screen size. In iOS 7 navigation push animation come before view size is set so we can see that animating. Don't worry it works well in iOS 8.0 and later. For iOS 7.0 you can give size of view in viewDidLoad so it can adjust size before it appears.

提交回复
热议问题