I\'m getting different kind of crash reports related to VectorKit
and MKMapSnapShotter
. Crashes occur pretty random, but it seems like they happen most
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.
I had the same issue with frequent but random crashes ususally looking like:
VectorKit 0x10663fe9 -[VKTileProvider tileSource:didFetchTile:forKey:] + 105
I fixed it by removing this line:
this.mapSnapshotter.Cancel();
So I think Apple has a bug with the MKMapSnapshotter Cancel method.
Hope that's helpful