IQKeyboardManager
IQKeyboardManager copied to clipboard
6.5.19 still crash
Cannot form weak reference to instance (0x1078ff800) of class UICompatibilityInputViewController. It is possible that this object was over-released, or is in the process of deallocation.
Object-C
I created a UITextField, clicked the input box and then closed it, then clicked it again. When I clicked it for the third time, it would inevitably crash.
UICompatibilityInputViewController is not a part of the library. Could you please clarify what exactly the issue. I still unable to understand from your messages.
I crashed when I use IQKeyboard, I created a UITextField, clicked the input box and then closed it, then clicked it again. When I clicked it for the third time, it would inevitably crash.
log:Cannot form weak reference to instance (0x1078ff800) of class UICompatibilityInputViewController. It is possible that this object was over-released, or is in the process of deallocation.
and when I remove the library,that work well
@VisionColion Please share a demo project to reproduce this.
I’d like to help debug this crash. The error suggests a weak reference is being created to a UICompatibilityInputViewController instance that may already be deallocated. I’ll start by reproducing the issue in a minimal setup, inspect lifecycle timing, and check for unsafe references or view reuse in the keyboard/input handling layer. I’ve handled similar UIKit memory quirks before, and I’d love to trace this down and propose a safe fix.
I would still say UICompatibilityInputViewController is not a part of this library. So I still assume this crash might occur insidel UIKit Framework.