ios8 - iOS custom keyboard - preserve state between appearances -



ios8 - iOS custom keyboard - preserve state between appearances -

i'm having performance problems custom keyboard i'm working on. loading words in spell correction tree takes quite bit of time. seems done each time keyboard appears - there way preserve state of keyboard? apps can suspend / resume etc - can't find documentation on how extensions, or if there's mechanism doing att all.

thanks!

you loading dictionary net or disk? first case nsuserdefaults, encoding (nscopying) options store info. can load in background.

according docs, os typically kills extension process, so, think there no way prevent keyboard objects deallocation (you may utilize nskeydarchiver).

ios8 ios-app-extension custom-keyboard

Comments

Popular posts from this blog

php - Edges appear in image after resizing -

Delphi change the assembly code of a running process -