Chinese handwriting ime iOS8.1 in crash

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.