Re: MKMapView pin dragging question
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