iOS 9 Crashing in _prepareForCAFlush with EXC_BAD_ACCESS KERN_INVALID_ADDRESS

前端 未结 4 1874
不思量自难忘°
不思量自难忘° 2021-01-07 23:42

With the release of iOS 9, we are seeing several crash reports for what appears to be a bug from Apple\'s side of things in iOS 9. This is happening across device types (iPh

4条回答
  •  粉色の甜心
    2021-01-08 00:03

    For me the problem was that I was showing and dismissing the keyboard when the application was minimized.

    [self.textView becomeFirstResponder];
    [self.textView resignFirstResponder];
    

    I performed the above code on the applicationWillResignActive event. removing this code fixed the crash.

提交回复
热议问题