- [CLLocation length]:表显示后无法识别的选择器 [英] -[CLLocation length]: unrecognized selector after table display
问题描述
在进行一些细微修改后,我的代码已经开始崩溃:
Quite unexpectedly after doing some minor modifications, my code has started crashing with:
-[CLLocation length]: unrecognized selector sent to instance 0x1b3739c0.
这发生在应用程序完成表格单元格显示之后,更确切地说是退出后:
This happens after the app has completed the display of the cells of a table, more precisely after exiting:
- (void)tableView:(UITableView *)tableView willDisplayCell:(UITableViewCell *)cell forRowAtIndexPath:(NSIndexPath *)indexPath
我试图在代码中的所有长度访问中放置断点,但没有一个被捕获。我还设置了一个断点上的[NSObject(NSObject)doesNotRecognizeSelector:],这实际上被捕获,但没有给出任何信息。我也调查了崩溃日志,但崩溃的线程与我的应用程序的最后一次联系是在主要功能。
I tried putting breakpoints in all length accesses in the code, but none of them was caught. I also set a breakpoint on [NSObject(NSObject) doesNotRecognizeSelector:] and this in fact was caught, but gave no information altogether. I also investigated the crash log but the last contact of the crashing thread with my app was in the main function. How may I discover the point of the program producing the crash?
推荐答案
事实上,一个表textfields是不正确的CLLocation。唯一的捕获是错误的时间。谢谢大家。
In fact one the table textfields was incorrectly a CLLocation. The only catch was the timing of the error. Thank you everyone.
这篇关于 - [CLLocation length]:表显示后无法识别的选择器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!