1
GoogleロゴのないMKMAPViewでサムネイル画像を作成していますが、これはAppleが受け入れ可能ですか?以下のような 例サムネイルmkmapviewサムネイル画像
CGPoint annotationPoint = [mapView convertCoordinate:view.annotation.
coordinate toPointToView:_mapView];
float boxDY=annotationPoint.y;
float boxDX=annotationPoint.x;
CGRect box = CGRectMake(boxDX,boxDY,100,100);
UIGraphicsBeginImageContext(_mapView.frame.size);
[self.view.layer renderInContext:UIGraphicsGetCurrentContext()];
UIImage *image = UIGraphicsGetImageFromCurrentImageContext();
UIImage *img=[UIImage imageWithCGImage:CGImageCreateWithImageInRect
([image CGImage],CGRectMake(box.origin.x-30, box.origin.y-35,75, 75))];
UIImageWriteToSavedPhotosAlbum(img, nil, nil, nil);
UIGraphicsEndImageContext();