@chang zang I think you can look at this sample from github. The method applies pronunciation assessment but you can skip the assessment. The call to method speechRecognizer.recognizeOnceAsync() should provide the recognition result while you try to read from a file.
The version of the SDK should be 1.27.0 or higher as mentioned in the documentation from SDK installation page.
System requirements for iOS are:
- A macOS version 10.14 or later
- Target iOS 9.3 or later
I hope this helps!!
If this answers your query, do click Accept Answer
and Yes
for was this answer helpful. And, if you have any further query do let us know.