• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
[iPhone]MKAnnotation of "showUserLocation"-getting a reference to my own location pin
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[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


  • Prev by Date: Re: MDSchemaCopyAllAttributes() returning nil
  • Next by Date: Re: Group CGAffineTransform Animations?
  • Previous by thread: Re: Manually updating a data bound value of a bound text field
  • Next by thread: NSInterger Infinity?
  • Index(es):
    • Date
    • Thread