View appears with modal view animation instead of show (push) animation

后端 未结 1 479
刺人心
刺人心 2021-01-02 02:53

I\'ve recently updated my app from iOS 8.3 to iOS 9. After fixing the various errors with the code, I managed to compile the app and run it, when I noticed the following pro

1条回答
  •  -上瘾入骨i
    2021-01-02 03:28

    After taking a look at the Storyboard in the project, I discovered that the problem was due to extra navigation controllers after each Push segue. That is, in addition to the initial (root) navigation controller, the Storyboard contained a UINavigationController as the destination for the problematic Push segues. Removing these extra navigation controllers (but keeping the root navigation controller) solved the problem.

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