Wednesday 15 February 2012

objective c - Lag When Activating Text Field Inside iOS 8 Custom Keyboard -



objective c - Lag When Activating Text Field Inside iOS 8 Custom Keyboard -

i want add together search field within custom keyboard allows user search content can input main text document keyboard beingness displayed.

however, calling -becomefirstresponder on uitextfield object causes 3-4 sec lag during no input accepted. same thing happens if phone call -resignfirstresponder. can set text property of text field fine, means there no caret, , text truncated fit.

on calling (become|resign)firstresponder, next messages in log:

2014-10-28 13:39:50.920 giffy kb[2073:514844] received 0 images

2014-10-28 13:39:57.942 giffy kb[2073:514745] <_uiremoteinputviewcontroller: 0x14762a030> timed out waiting fence barrier com.theappical.giffage.giffagekb

2014-10-28 13:39:58.446 giffy kb[2073:514745] view service did not balance fencing 'begin' messages 'end' messages within second; timing out.```

other 3rd party keyboards seem not utilize textfields (they utilize custom views instead). mean bug @ apple's end, or there can resolve it?

filed bug study apple same, ended faking text field using uilabel. of (ios 8.1 latest), issue has yet resolved.

ios objective-c keyboard ios8

No comments:

Post a Comment