Mysterious crash on iOS 8

后端 未结 4 1924
难免孤独
难免孤独 2020-12-29 11:19

I\'m getting a lot of crash reports on iOS 8 with this stack trace:

Date/Time:       2014-09-17T20:26:15Z
OS Version:      iPhone OS 8.0 (12A365)
Report Vers         


        
4条回答
  •  太阳男子
    2020-12-29 11:53

    I am seeing this on an app which includes a mapKit view on one of the tabs. The error is reportedly tied to updates being performed on the map while the app is backgrounded, and I realized that the only thing that could be getting updated was the user location "blinky" blue dot. So I added code to set

       self.mapview.showsUserLocation = NO; 
    

    whenever the app gets backgrounded, and sets it to YES when it becomes active. This seems to have stopped the error in my alpha testing. I will update this once I get back results from beta testing.

提交回复
热议问题