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

后端 未结 7 1985
走了就别回头了
走了就别回头了 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:14

    I had the same issue with my UIViewController where i was only declaring variable in my class let alert = UIAlertView() without using it yet, it was out of all the functions just inside the class as variable. by removing that solves the issue. so please check in your class if you have defined alert from UIAlertView or UIAlertViewController like that without using it or in the class variable!

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