Skip to content
This repository has been archived by the owner on Apr 29, 2024. It is now read-only.

Does the SimpleTextInput sample work for voice dictation since iOS 8? #50

Closed
iamthefaker opened this issue Dec 23, 2014 · 1 comment
Closed

Comments

@iamthefaker
Copy link

I made a slightly modified version of SimpleTextInput and it used to work with voice dictation.

Lately, I think since iOS 8, InsertText is still getting called by voice dictation actions, but strings of spaces-only are getting passed to the: string text parameter, not the actual text spoken (which did used to happen). textView.text is however still getting set, sometimes and somehow, I'm not clear how.

@iamthefaker
Copy link
Author

I went back to the original sample, and discovered it works fine with dictation on iOS 8... so the problem is mine (and I'll close this issue)...

However it is still a problem, even though the sample here doesn't suffer from it. I have almost identical code, but I'm trying to get the dictated text back and inserted into a non-standard control.

I think my problem has to do with threading and the asynchronous way in which ReplaceRange gets called by the iOS text system.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant