Iphone mkmapview缩略图图像
我正在MKMAPView中创建没有谷歌徽标的缩略图,苹果可以接受吗? 如下面的示例缩略图Iphone mkmapview缩略图图像,iphone,ios4,mkmapview,mkannotationview,Iphone,Ios4,Mkmapview,Mkannotationview,我正在MKMAPView中创建没有谷歌徽标的缩略图,苹果可以接受吗? 如下面的示例缩略图 CGPoint annotationPoint = [mapView convertCoordinate:view.annotation. coordinate toPointToView:_mapView]; float boxDY=annotationPoint.y; float boxDX=annotationPoint.x; CGRect box = CGRectMake(boxDX
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();
是的,没有“谷歌徽标”是可以接受的,因为主地图视图有“谷歌徽标”是的,没有“谷歌徽标”是可以接受的,因为主地图视图有“谷歌徽标”