用了Mj下拉刷新 An instance 0xca90200 of class UITableView was deallocated while key value observers were s
来源:互联网 发布:anywhere软件源地址 编辑:程序博客网 时间:2024/04/29 18:43
An instance 0xca90200 of class UITableView was deallocated while key value observers were still registered with it. Observation info was leaked, and may even become mistakenly attached to some other object. Set a breakpoint on NSKVODeallocateBreak to stop here in the debugger. Here's the current observation info:
<NSKeyValueObservationInfo 0xd253ef0> (
<NSKeyValueObservance 0xc5ea1f0: Observer: 0xc5e9560, Key path: contentOffset, Options: <New: YES, Old: NO, Prior: NO> Context: 0x0, Property: 0xd249490>
<NSKeyValueObservance 0xd26a430: Observer: 0xd241970, Key path: contentSize, Options: <New: YES, Old: NO, Prior: NO> Context: 0x0, Property: 0xd251df0>
<NSKeyValueObservance 0xd26a470: Observer: 0xd241970, Key path: contentOffset, Options: <New: YES, Old: NO, Prior: NO> Context: 0x0, Property: 0xd249490>
)
翻译的意思大概就是,uitableview注册了观察者,然后没有被注销掉,又开始重复使用了,我是这么理解的。
我这个页面的功能很简单。就是从列表页面进入到详情页,然后详情页的布局是一个scrollview上放了一个uitableview,uitableview继承了上拉刷新。
我发现这个问题的由来: 当我第一次点详情页后,然后返回,第二次进去,然后返回,次数多了以后。然后就Collapse崩溃了。
解决方法:
- (void)dealloc
{
[_headerfree];
[_footerfree];
}
- 用了Mj下拉刷新 An instance 0xca90200 of class UITableView was deallocated while key value observers were s
- 错误代码: An instance 0xc346000 of class UITableView was deallocated while key value observers were stil
- An instance 0x15718ca00 of class UITableView was deallocated while key value observers were still re
- 报错'An instance 0x7fb441883000 of class UITableView was deallocated while key value observers we 解决方法
- 连续多次进入使用了MJRefresh的页面应用会崩 An instance 0xdb48a00 of class UITableView was deallocated while key value
- UITableView was deallocated while key value observers were still registered with it. Observation inf
- 'NSInternalInconsistencyException':deallocated while key value observers were still registered
- Objective C:Object Deallocated while key value observers were still registered with it
- angular编译出错解决办法Angular Compiler was detected but it was an instance of the wrong class.
- MJ下拉刷新
- identifier of an instance of was altered from to null
- identifier of an instance of XXX was altered from 75
- identifier of an instance of was altered from to null
- java axis调用cxf 的坑object is not an instance of declaring class while invoking public
- 异常笔记(2)--object is not an instance of declaring class while invoking public abstract java.lang.Long
- Review of some Python's key value
- EJB3 Exception:identifier of an instance of net.model.entity.Role was altered from 2 to 0
- An easy instance of using the template class in C++
- Android应用之《宋词三百首》(一)
- redis-dynamic string
- 晚上不能吃的食物
- 小学生作文
- 关于pr文件导入的问题
- 用了Mj下拉刷新 An instance 0xca90200 of class UITableView was deallocated while key value observers were s
- svn eclipse
- no permissions fastboot 解决
- CentOS开机启动服务
- Nginx+Memcached为啥具有高性能
- 用gdb调试C程序的简单介绍
- 对字符串进行哈希的算法,hash_func
- Direct3D 10教程4:3D空间
- 类的实例化过程小结