Google TTS limited to 100 characters.
So you should split-up your long sentence in to small 100 character chunks and pass it to the Google TTS method.
You can achieve this through implementing below steps.
- Split-up your long sentence in to small 100 character chunks.
- Call Google TTS with first split 100 character string.
- Play it using Google TTS & AVAudioPlayer
- Implement AVAudioPlayer audioPlayerDidFinishPlaying delegate .
- In that delegate, call Google TTS with second split 100 character
string.
- Call the process recursively until reach the last character.
Here is best One for me Google-TTS-Library-For-iOS library try it :)