How can I know when NSSpeechSynthesizer finishes speaking?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You read the documentation for NSSpeechSynthesizer and discover the -speechSynthesizer:didFinishSpeaking: delegate method.
Then, if you’re not sure how to use delegate methods, you read more documentation about Cocoa delegates.
Then, if you still can’t get it to work, you post a separate question here including as many details as you can about what you’ve tried (hint: code, a description of your app and how things are connected, etc.) and what isn’t working (ie, the delegate method is never called, it crashes, etc.).