I Understand TTS is only available in iOS 7 Before down vote please read through.
One of my customers want to add text-to-speech feature to existing project based on iOS 6. I understand in iOS 7 we have built in TTS so I want to use it.
The following code is working fine when project is based on iOS 7.
AVSpeechSynthesizer *synthesizer = [[AVSpeechSynthesizer alloc] init];
AVSpeechUtterance *utterance = [AVSpeechUtterance speechUtteranceWithString:@"Please raise my salary!!!"];
[synthesizer speakUtterance:utterance];
But I am not able to add this code to existing project based on iOS 6.
I am using this thread way. Am I missing something? Or this built in TTS is something different stuff?