keyboard - iOS 8's documentContextBeforeInput only returns partial text -


i using ios 8's provided keyboard extension's textdocumentproxy.documentcontextbeforeinput text user has entered in order perform sort of modification it.

i noticed while method documentcontextbeforeinput work fine chucks of texts, periods "." inserted, documentcontextbeforeinput able return text occurs after period.

for example, testing following text: "this sentence 1. , sentence 2" when using documentcontextbeforeinput placing cursor @ end, return "and sentence 2", , not entire text has come before it.

has encountered issue, , if have discovered workaround?

thanks!


Comments

Popular posts from this blog

javascript - how to protect a flash video from refresh? -

android - Associate same looper with different threads -

visual studio 2010 - Connect to informix database windows form application -