iOS Custom Colored MKAnnotations on Maps

Hi All ! In this post, I am going to illustrate implementing custom colored MKAnnotations on Map.

I will not write much. Just go through following video to understand output. If output is as per your expectation, this post is for your.



iOS Custom Colored MKAnnotations on Maps sugartin step 2

So, Just go through following steps.
1. Download source code from here. ( Original source is here )
2. Open downloaded archive, unzip & open the project.
iOS Custom Colored MKAnnotations on Maps sugartin step 1
3. Select files & import illustrated files into your project.
4. Put following constant into your file for RGB conversion.

5. Create annotation as follows. You can create as many as per your need.

6. Add it to your mapview.

7. Place following method into your file.

All credits of this post goes to Author of this Git Repository.
https://github.com/nnhubbard/ZSPinAnnotation

I have just shared info which really helped me.

Leave a Reply

Your email address will not be published. Required fields are marked *



*