Always got error in Yosemite: <Error>: ImageIO: CGImageSourceCreateWithData - nil data parameter
Good morning team. I am using mkmapview under Yosemite and creating custom tiles. But I always got this error:: ImageIO: CGImageSourceCreateWithData parameter is nil
Although the tiles are completed successfully. I searched a lot and tried everything I ran into.
- Change card types.
- Change the flag: canReplaceMapContent.
- Change the project to non-ARC and keep all objects.
I even get the code from github and it produces the same error Nothing succeeded. Is this a bug in the system? If not, how can I overcome it?
+3
source to share
1 answer
This is a current iOS 8 bug MKTileOverlayRenderer
. I am working on this in this GitHub issue and have produced an alternate render class . Not tested on OS X, but should be minor so as not to change it. I am assuming the same error exists on both platforms.
+1
source to share