[iPhone]MKAnnotation of "showUserLocation"-getting a reference to my own location pin
[iPhone]MKAnnotation of "showUserLocation"-getting a reference to my own location pin
- Subject: [iPhone]MKAnnotation of "showUserLocation"-getting a reference to my own location pin
- From: James Lin <email@hidden>
- Date: Fri, 19 Jun 2009 00:37:00 +0800
Hi all...
Anyone playing with MKMapView?
I am trying to set the pin color of "my" location to be red.
and set other annotations to another color.
But I am having trouble getting a reference to the pin that denotes my
location.
because this pin is generated by "showUserLocation" and not by
MKAnnotationView.
I can set the pin color of other annotations by "title" of the pin.
however, if i use the title of my pin "Current Location" to refer to it,
nothing happens to my setPinColor call.
How do i get a reference to the pin of my own location?
Thank you in advance for your help.
James
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden