ios - How do I set a custom image on an map annotation? -
I want to set a custom image to SKAnnotation
, but when I send the image path markers I set the image of the marker with the following code:
I use a default image:
annotation.annotationType = SKAnnotationTypeGreen;
Markers appear correctly
How do I set a custom image on a map annotation?
png-8 file format is not supported. Using the png-24 file works properly.
Comments
Post a Comment