iPhone应用MKMapKit随机崩溃 [英] iPhone MKMapKit application randomly crashing

查看:128
本文介绍了iPhone应用MKMapKit随机崩溃的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在写一个MKMapKit应用程序,允许用户拖动周围的注释。一切似乎大部分工作,但现在,然后每崩溃,并显示以下信息:

I'm writing an MKMapKit app that allows the user to drag around an annotation. Everything seems to work for the most part, but it crashes every now and then with the following message:

2009-09-27 12:34:18.903 iParkNow![7181:207] *** -[LBSGAddressComponent _mapkit_cache_heapTime]: unrecognized selector sent to instance 0x195320
2009-09-27 12:34:18.907 iParkNow![7181:207] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[LBSGAddressComponent _mapkit_cache_heapTime]: unrecognized selector sent to instance 0x195320'

我已经没有运气谷歌搜索有用的信息和iPhone论坛上就没有什么可无论是。我因为它的有点长,不附加任何code。只是想知道如果任何人如何任何想法什么会导致此错误。在此先感谢!

I've had no luck googling for useful information and the iphone forums have nothing useful either. I haven't attached any code since its a bit long. Just wondering if anyone how any idea what would cause this error. Thanks in advance!

推荐答案

你设法扭转地理code比一个位置多在同一时间?这将导致崩溃为3.1 ...因此,如果用户正在拖动,你开始打电话来扭转地理code和保持通畅,因为许多人会在同一时间内处理那么很可能这就是你的问题。

Do you try to reverse geocode more than one location at a time? This will cause the crash as of 3.1...So if the user is dragging and you start making calls to reverse geo code and keep them open as so many of them would be processing at one time then thats probably your problem.

这篇关于iPhone应用MKMapKit随机崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆