有没有办法确定 UITextField 中何时发生语音文本输入?
在 iPhone 4S 上使用语音输入时,不会触发任何 UITextFieldDelegate 方法。我还尝试使用 UIControl 事件 valueChanged,但这不会触发。最后,我尝试对文本字段的文本属性进行 KVO,但也没有触发。还有其他想法吗?
None of the UITextFieldDelegate methods get fired when using voice input on the iPhone 4S. I also tried using the UIControl event valueChanged, but that doesn't fire. Finally, I attempted KVO on the text property of the text field, and that doesn't fire either. Any other ideas?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我犹豫是否建议这样做,但鉴于通常的方法已被尝试但没有成功,那么使用
NSTimer
轮询文本字段怎么样?I hesitate to suggest this, but seeing as how the usual methods has been tried without success, how about a
NSTimer
that polls the textfield?