iOS 9 App freeze with console log “BKSendHIDEvent”

后端 未结 3 383
南旧
南旧 2020-12-31 08:38

After app launched for a long time, there are some logs in console while touching the screen:

BKSendHIDEvent: IOHIDEventSystemConnectionDispatchEvent error:0xE

相关标签:
3条回答
  • 2020-12-31 09:04

    I have got fix for that... In My case using swift, with Xcode 7.2. I have used custom label, and func layoutSubviews() call infinite time and console is showing BKSendHIDEvent: IOHIDEventSystemConnectionDispatchEvent

    below is fix for same:

    class CustomLabel: UILabel {
    
     var isSubLayoutSet: Bool = false
    
        override internal init(frame: CGRect) {
            super.init(frame: frame)
    
        }
        required internal init?(coder aDecoder: NSCoder) {
            super.init(coder: aDecoder)
        }
    
        override func layoutSubviews() {
            super.layoutSubviews()
    
            if isSubLayoutSet == false
            {
                //--- do your stuff related to set font or any operation...
                ///---
                isSubLayoutSet = true
            }
        }
    
    0 讨论(0)
  • 2020-12-31 09:07

    I have the same problem.

    In My case it happends after switch off wifi in iPad (OS 9.1). Application is unresponsive. In console I can see the same errors.

    After switch wifi on, application is again responsive and I can continue.

    0 讨论(0)
  • 2020-12-31 09:11

    fyi, i'm seeing the same console output "unknown event dropped" after updating to iOS 9.3. I'm not sure if it's the OS, or a specific app running a background process, but I see it in many different apps including the home screen as well as immediately on restarting, so I think it's a bug in the latest 9.3 update.

    0 讨论(0)
提交回复
热议问题