• 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
Re: MKMapView pin dragging question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MKMapView pin dragging question


  • Subject: Re: MKMapView pin dragging question
  • From: Alex Zavatone <email@hidden>
  • Date: Wed, 25 Oct 2017 20:58:06 -0500

Hmmm.  I wonder if there is a delegate method that is being missed.  I’ll have
to look tomorrow if you haven’t solved it.

In the meantime…

https://stackoverflow.com/questions/30021305/mkannotation-pin-wont-drag-even-though-set-as-draggable

annotation.title?  It appears to be set in your supplied code.

https://stackoverflow.com/questions/24058869/how-to-make-custom-mkannotation-draggable

setCoordinate?  Did you implement that method?



> On Oct 25, 2017, at 8:19 PM, Marco S Hyman <email@hidden> wrote:
>
>
>> On Oct 25, 2017, at 6:11 PM, Alex Zavatone <email@hidden> wrote:
>>
>> This might be simple.  Please correct me if I am wrong, I think the last
>> time I dealt with this was in 2012.
>>
>> Isn’t there a method or property such as canDragPin that you have to
>> override or implement in your subclass?
>
> I’m setting isDraggable to true in the MKAnnotationView.  That is the closest
> thing I can think of.  I’m also setting an otherwise unneeded title in the
> MKPointAnnotation because searches say a title is necessary to make dragging
> work.
>
> Marc
>



_______________________________________________

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

References: 
 >MKMapView pin dragging question (From: Marco S Hyman <email@hidden>)
 >Re: MKMapView pin dragging question (From: Alex Zavatone <email@hidden>)
 >Re: MKMapView pin dragging question (From: Marco S Hyman <email@hidden>)

  • Prev by Date: Re: [ANN] Nursery Framework 1.0.1 (build with Xcode 9) released
  • Next by Date: Re: [ANN] Nursery Framework 1.0.1 (build with Xcode 9) released
  • Previous by thread: Re: MKMapView pin dragging question
  • Next by thread: unable to update UI on main thread in 10.13
  • Index(es):
    • Date
    • Thread