VectorKit crash reports with MKMapSnapshotter on iOS

前端 未结 2 1660
被撕碎了的回忆
被撕碎了的回忆 2021-02-04 23:22

I\'m getting different kind of crash reports related to VectorKit and MKMapSnapShotter. Crashes occur pretty random, but it seems like they happen most

2条回答
  •  谎友^
    谎友^ (楼主)
    2021-02-05 00:16

    How repeatable is this? Is the device coming out of sleep mode? What is on the screen when the App goes into the background?

    Within the ViewController you can try registering the NSNotification event, UIApplicationWillResignActiveNotification

    When the App is going into the background, calling cancel on any MKMapSnapshotter

    If that doesn't work, you could attempt more drastic measures, like hiding views, just to identify if they are related to the crash.

提交回复
热议问题