How to implement text to speech functionality in iPad?

后端 未结 2 1185
小鲜肉
小鲜肉 2021-01-23 12:29

Is there any 3rd party API which will provide text to speech facility??

2条回答
  •  失恋的感觉
    2021-01-23 13:17

    Yes. Follow this link for your reference. You can use this as you require. There is iPhone sample in there, but it is easy to convert it to iPad.

    And there is also other way with google api using following way.

    http://translate.google.com/translate_tts?tl=en&q=Yourtext. But it has certain limitation like 100 chars and also you have to look for commercial usage conditions.

    This you can load in UIWebView passing your text.

    Hope it helps.

提交回复
热议问题