Attempting to load the view of a view controller while it is deallocating … UIAlertController

后端 未结 7 2022
走了就别回头了
走了就别回头了 2020-12-24 01:55

I am building with the release version of Xcode 7.0. No storyboards, just nib files.

I have a single UINavigationController created by the app delegate

7条回答
  •  长情又很酷
    2020-12-24 02:05

    I solved this by moving some of my code to viewDidAppear. If I used UIAlertController, it would cause the same problem you mentioned and would not be displayed, and I solved it the same way.

    Let me know if that doesn't work!

提交回复
热议问题