Get full string in iOS8 Custom Keyboard Extension

后端 未结 5 731
再見小時候
再見小時候 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:49

    I had the same problem and I think it has been fixed with Xcode 6 beta 4.

    Just append documentContextAfterInput to documentContextBeforeInput to get the full input field text.

提交回复
热议问题