Why am I crashing after MKMapView is freed if I'm no longer using it?
Posted
by tewha
on Stack Overflow
See other posts from Stack Overflow
or by tewha
Published on 2010-02-02T22:10:36Z
Indexed on
2010/03/23
5:43 UTC
Read the original article
Hit count: 420
I have a MKMapView
. Sometimes after my view controller is dismissed, I'll get a EXC_BAD_ACCESS
.
I turned on NSSZombies
and it looks like the MKMapView
's delegate — my view controller! — is being called, despite both the MKMapView
and UIViewController
subclass being freed. I've checked, and my memory management is correct.
What's going on?
© Stack Overflow or respective owner