Thank you,
My viewForAnnotation was all wrong. I was trying code from this tutorial:
http://trentkocurek.wordpress.com/2010/07/21/ios4-map-kit-draggable-annotation-views/
So, I went back and redid my code, which fixed the memory leak and alleviated
the need for a custom Annotation View.
- (MK
On 27 nov 2010, at 06.33, Philip Vallone wrote:
> if ((self = [[MKPinAnnotationView alloc]
> initWithAnnotation:annotation reuseIdentifier:reuseIdentifier])) {
> [self
> performSelector:NSSelectorFromString(@"setDraggable:") withObject:[NSNumber
> numberWith
Hi,
I have implemented a dragable annotation in my app. I am getting a 100% memory
leak that has me puzzled. I was hoping that someone can provide some guidance.
The leak is at:
MKAnnotationView *draggablePinView = [[[AnnotationView alloc]
initWithAnnotation:annotation reuseIdentifier:@"PinIde