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:

Type: @ "png"]; Annotation.imageSize = 64;

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

Popular posts from this blog

python - Writing Greek in matplotlib labels, titles -

c# - LINQ to Entities does not recognize the method 'Int32 IndexOf(System.String, System.StringComparison)' method -

Pygame memory leak with transform.flip -