I am wondering why Keyboard Extension (UIInputViewController) is not acting as it is explained in documents.
In document it says "An input view controller conforms to the UITextInputDelegate protocol, allowing you to respond to changes in document content and position of the insertion point." but textWillChange OR textDidChange methods are not being called, when the active textfield text changes.
at the same time values of documentContextAfterInput OR documentContextBeforeInput are not changing if the textfield text is not changed by the proxy(for example if you use external keyboard text changes, but there is no way to monitor the change)
If you should know. calling the adjustTextPositionByCharacterOffset from proxy updates everything as it should.
I really need to monitor the text changes. looping adjustTextPositionByCharacterOffset +1 and then -1 will give me the changes but it's too much cpu usage.