mkmapview userlocation annimation issue

Posted by Gedeon on Stack Overflow See other posts from Stack Overflow or by Gedeon
Published on 2010-03-23T13:25:08Z Indexed on 2010/03/25 19:13 UTC
Read the original article Hit count: 501

I have issue with userlocation in mkmapview. The thing is that i have navigation controller which pushes mapview , as soon as it pushes it userlocation is queried. But if user pop mapview view before userlocation animation is finished , it throws exception because animation is trying to access deallocated mapview instance.

So my question is , how to prevent that.

I could do it by disabling back button , but i am not sure if that right way to take.

Does anybody know how to stop current animation?

© Stack Overflow or respective owner

Related posts about iphone-sdk-3.0

Related posts about cocos2d-iphone