- Home /
Question by
hannahestes · Apr 05 at 07:51 PM ·
iosipad
App crash when using siri dictation to replace text on iOS
My app is crashing when using the dictation feature built in to the keyboard in iOS. This happens in several different input fields throughout my app, but only when using dictation to replace a highlighted portion of the input. When I run the app via XCode, I see an error: NSInvalidArgumentException: -[__NSCFString replaceCharactersInRange:withString:]: Range or index out of bounds. I am using all TMPro inputs, and have seen the issue on several different iPads.
Any idea of how I can fix this?
Comment