2014-02-10から1日間の記事一覧
音声読み上げ関数。 [self speech:string] #include <AVFoundation/AVFoundation.h> .. @implementation ViewController{ AVSpeechSynthesizer *speechSynth; } - (IBAction)pressButton:(id)sender { [self speech:self.myText.text]; } - (void) speech : (id) str{ speechSynth = [[AVS</avfoundation/avfoundation.h>…