Get full string in iOS8 Custom Keyboard Extension

后端 未结 5 733
再見小時候
再見小時候 2020-12-25 08:34

I\'m creating a Custom Keyboard Extension for iOS 8.

I want to get the whole string that the user wrote in the text input field.

Unfortunately I stumble in t

5条回答
  •  自闭症患者
    2020-12-25 08:44

    I ran into the same problem with the documentContextAfterInput and documentContextBeforeInput strings. I think that IOS8 only returns a handful of characters on either side of the insertion point. I think this is intentional.

提交回复
热议问题