HJCornerRadius icon indicating copy to clipboard operation
HJCornerRadius copied to clipboard

self.originImage = self.originImageView.image;

Open angBiu opened this issue 8 years ago • 6 comments

使用了 出现崩溃在这个位置上 (lldb) po self.originImageView warning: could not load any Objective-C class information from the dyld shared cache. This will significantly reduce the quality of type information available. 0x0000000137ab5460

angBiu avatar Oct 31 '16 15:10 angBiu

当 当前控制器 走delloc时会出现

angBiu avatar Oct 31 '16 15:10 angBiu

使用方式有什么特别的吗?和demo比有什么不同?

panghaijiao avatar Nov 01 '16 01:11 panghaijiao

父控制器添加了 四个字控制器 子控制器上面都是放着tableview 有对 tablview添加contentOffset的监听

UIImageView was deallocated while key value observers were still registered with it. Current observation info: <NSKeyValueObservationInfo 0x12e210420> ( <NSKeyValueObservance 0x12e2103a0: Observer: 0x12e20fff0, Key path: image, Options: <New: YES, Old: NO, Prior: NO> Context: 0x0, Property: 0x12dd02b30> <NSKeyValueObservance 0x12e2103f0: Observer: 0x12e20fff0, Key path: contentMode, Options: <New: YES, Old: NO, Prior: NO> Context: 0x0, Property: 0x12daadf90>

早上重新使用上 报了这样的错误 kvo的

angBiu avatar Nov 01 '16 02:11 angBiu

这个我还是有点不清楚,不知道如何模拟你的问题,你能定位下吗?

panghaijiao avatar Nov 03 '16 03:11 panghaijiao

是不是要 - (void)dealloc { [self removeObserver:[self imageObserver] forKeyPath:@"image"]; [self removeObserver:[self imageObserver] forKeyPath:@"contentMode"];

}

DamonCode avatar Apr 12 '17 11:04 DamonCode

<NSKeyValueObservance 0x12e2103a0: Observer: 0x12e20fff0, Key path: image, Options: <New: YES, Old: NO, Prior: NO> Context: 0x0, Property: 0x12dd02b30> <NSKeyValueObservance 0x12e2103f0: Observer: 0x12e20fff0, Key path: contentMode, Options: <New: YES, Old: NO, Prior: NO> Context: 0x0, Property: 0x12daadf90> 的确会出现这个问题,我遇到好多次了 ,几乎都是pop回去的时候挂机了 ,控制器以及cell都正常释放了他们的delloc方法都正常调用。

Tanyd31 avatar Apr 20 '17 16:04 Tanyd31