0

Good Evening,

I'm looking for a simple text to speech for iphone app development. I see numerous posts about this including ...

Text-to-speech libraries for iPhone

Question though, this link is all third party developers to use text to speech. I thought apple has a class reference to create speech? (nsspeechsynthesizer) Can someone please explain? Does apple not provide this for us?

Thanks

Community
  • 1
  • 1
solarissf
  • 1,199
  • 2
  • 23
  • 58
  • possible duplicate of [iOS 7 Text To Speech Api](http://stackoverflow.com/questions/22561926/ios-7-text-to-speech-api) – mmmmmm Dec 19 '14 at 18:58

3 Answers3

2

NSSpeechSynthesizer works fine on Mac.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.

junkor
  • 373
  • 1
  • 11
2

iOS 7 has the AVSpeechSynthesizer class

John
  • 107
  • 1
  • 1
  • 7
1

As other answers have mentioned, Apple does not include NSSpeechSynthesizer in iOS, only in Mac OS X.

Patrick Tescher
  • 3,387
  • 1
  • 18
  • 31