When China's handwriting input method. Will cause the app to be closed. At debug time. Error:
2014-10-22 14:45:10.269 app[524:170755]-[uikbblurredkeyview candidatelist]: Unrecognized selector sent to instance 0x16ff44b0
after a toss. Confirm Yes-(void) Touchesbegan: (nsset *) touches withevent: (uievent *) Event error is the result of use.
The following code has been added to an unrelated view controller class.
@implementation Uiscrollview (Touch)
-(void) Touchesbegan: ( Nsset *) touches withevent: (uievent *) Event
{
//If not dragging, send event to next responder
if (! Self . dragging ) {
[self. Nextresponder Touchesbegan: Touches withevent: event];
} else {
[supertouchesended: Touches withevent: Event];
}
}
-(void) touchesmoved: ( Nsset *) touches withevent: (uievent *) Event
{
//If not dragging, send event to next responder
if (! Self . dragging ) {
[self. Nextresponder Touchesbegan: Touches withevent: event];
} else {
[supertouchesended: Touches withevent: Event];
}
}
-(void) touchesended: ( Nsset *) touches withevent: (uievent *) Event
{
//If not dragging, send event to next responder
if (! Self . dragging ) {
[self. Nextresponder Touchesbegan: Touches withevent: event];
} else {
[supertouchesended: Touches withevent: Event];
}
}
However, there are two problems here.
One, I started using Xcode6 's search function, but did not find this code. Because the search did not find this code, resulting in later toss time extended.
So. Xcode6 's search function is not trustworthy.
Two. This code exists in an unrelated view controller class, and although the class is main.storyboard applied, it is not loaded. I do not apply this to global application code. It doesn't look right now. Like the entire application code to take effect.
Copyright notice: This article Bo Master original article. Blog, not reproduced without consent.
Chinese handwriting ime iOS8.1 in crash