How can I add NSSpeechSynthesizer Class Reference?

后端 未结 3 903
北海茫月
北海茫月 2021-01-15 01:04

How can i add NSSpeechSynthesizer Class Reference. I think it is in
/System/Library/Frameworks/AppKit.framework. However there is no such framework name

相关标签:
3条回答
  • 2021-01-15 01:20

    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

    0 讨论(0)
  • 2021-01-15 01:20

    You can find it inside iPhone SDK /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.0.sdk /System/Library/PrivateFrameworks/VoiceServices.framework/VoiceServices

    0 讨论(0)
  • 2021-01-15 01:31

    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.

    0 讨论(0)
提交回复
热议问题