How can i add NSSpeechSynthesizer Class Reference. I think it is in
/System/Library/Frameworks/AppKit.framework. However t开发者_StackOverflowhere is no such framework name in framework window when I am clicking add existing frame work.Can any one help me to do it.
VSSpeechSynthesizer is available for the iOS - but it is a private API and as such will likely be rejected from the app store. However you can still make apps for private consumption. I consider this a bug as it makes creating accessible apps for the partially sighted for instance, harder. I have filed Bug ID #: 9451650 Bug Title: VSSpeechSynthesizer is Private
I currently use Flite TTS in my App. All hopes fix on the Nuance integration in iOS5 being available as a public API.
AppKit framework is MacOS framework, not iOS, and so NSSpeechSynthesizer class is also available on Mac only.
Check this question on SO for the list of some 3rd-party text-to-speach engines available on iPhone
You can find it inside iPhone SDK /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.0.sdk /System/Library/PrivateFrameworks/VoiceServices.framework/VoiceServices
精彩评论