Skip to content
This repository has been archived by the owner on Jul 2, 2020. It is now read-only.

iOS10.3.3闪退,与IQKeyboardManager冲突 #110

Open
wlxlj24 opened this issue Apr 11, 2018 · 0 comments
Open

iOS10.3.3闪退,与IQKeyboardManager冲突 #110

wlxlj24 opened this issue Apr 11, 2018 · 0 comments

Comments

@wlxlj24
Copy link

wlxlj24 commented Apr 11, 2018

与IQKeyboardManager冲突,在iOS10.3.3闪退,报错为
xception 'NSInternalInconsistencyException', reason: 'An instance 0x7f853e853600 of class UITextView was deallocated while key value observers were still registered with it. Current observation info: <NSKeyValueObservationInfo 0x608000638b80> (
<NSKeyValueObservance 0x608000843c60: Observer: 0x7f853e853600, Key path: attributedText, Options: <New: YES, Old: NO, Prior: NO> Context: 0x0, Property: 0x608000843c90>

使用了textview后, 退出页面后闪退,说没有注销掉这个observer,两边都使用了runtime取值,不知道怎么改 = =!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant