Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

MKMapSnapshotter removes "Legal" from snapshots

I am using the MKMapSnapshotter to create a UIImage screenshot of a small MKMapView (and stored for later use). But one thing I have noticed is that it removes the "Legal" label from the snapshot. Here the answer states that removing the "Legal" is against Apple policy. Will this affect my submission to the app store ? Or is it just required in the maps, and not the screenshots ?

I have checked the bounds of the MKMapView and the snapshot rect. There is no difference, so there's no possibility of it being cropped.

like image 312
n00bProgrammer Avatar asked Jan 12 '23 05:01

n00bProgrammer


1 Answers

I don't think it's a legal issue. The "Legal" label is actually a link (perhaps a UIButton?) pointing to a legal document.

The sole purpose of MKMapSnapshotter is to create images for a specified map region/rect. The output is an image where the "legal" link would not serve any useful or legal purpose.

Please also note that MKMapSnapshotter is an official Apple API, in other words it is Apple, not you, who actually removed the "Legal" label/link.

like image 53
Tibidabo Avatar answered Jan 19 '23 10:01

Tibidabo