0

I make a custom keyboard using this link https://developer.apple.com/library/ios/documentation/General/Conceptual/ExtensibilityPG/Keyboard.html

Now I need to add functionality of text to speech . In other word when ever user press key it speech that word .can you please tell me how it is possible .is it possible in IOS 8?

1
  • Apple hasn't made voice dictation available for custom keyboards at the moment. Commented Oct 7, 2014 at 10:37

1 Answer 1

1

Have a look into following class available in ios7 onwards

AVSpeechUtterance *utterance = [AVSpeechUtterance speechUtteranceWithString:@"whatever text"]; AVSpeechSynthesizer *synth = [[AVSpeechSynthesizer alloc] init]; [synth speakUtterance:utterance]; 

For more info please check apple's library document

AVSpeechSynthesizer

AVSpeechUtterance

Sign up to request clarification or add additional context in comments.

1 Comment

Have you work on that functionality in custom keyboard?

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.