Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iOS 9 App freeze with console log "BKSendHIDEvent"

Tags:

ios

freeze

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

BKSendHIDEvent: IOHIDEventSystemConnectionDispatchEvent error:0xE00002E8 -- Unknown event dropped

and all buttons have no response, whole app freeze. Currently, this problem only happened on iPhone 5s.

Similar issue: https://forums.xamarin.com/discussion/55646/alot-of-annotation-on-mkmapview

Does anyone have the same issue?

Update: I've found that there are more than 500 threads when app being killed by iOS, because I use a third party class Reachability too many times. To fix that, I declare a static variable, the freeze seems not happen again.

static Reachability *staticReachability;
+(NetworkStatus)detectNetwork{
    if (staticReachability == nil) {
        staticReachability = [Reachability reachabilityForInternetConnection];
        [staticReachability startNotifier];
    }
    NetworkStatus status = [staticReachability currentReachabilityStatus];
    return status;
}
like image 270
Joeful6 Avatar asked Dec 03 '15 10:12

Joeful6


1 Answers

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.

like image 65
MildaGenius Avatar answered Nov 15 '22 17:11

MildaGenius