MKOverlay View is blurred

前端 未结 3 801
醉梦人生
醉梦人生 2021-01-15 02:52

I\'m trying to add a png image as a custom map using MKOverlayView. I\'m almost there - I am able to get the image lined up in the right place, and I know that the -drawMapR

3条回答
  •  渐次进展
    2021-01-15 03:35

    Thanks Rob, you made my day. My blur overlay image got sharpen when I replaced

    CGContextScaleCTM(context, 1.0, -1.0);
    

    with

    CGAffineTransform flipVertical = CGAffineTransformMake(1, 0, 0, -1, 0, theRect.size.height);
    CGContextConcatCTM(context, flipVertical);  
    

提交回复
热议问题