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

c# - HttpResponseMessage System.InvalidOperationException -

sql - Postgresql error: "failed to find conversion function from unknown to text" -