私は UITextView を使用しており、View Controller に UITextInputDelegate を追加しました。textDidChange および dictationRecordingDidEnd メソッドを実装しました。textDidChange と dictationRecordingDidEnd は呼び出されません。助けてください。
MyViewController.h ファイル内
@interface MyViewController : UIViewController <UITextViewDelegate, UITextInputDelegate>
{
}
MyViewController.m ファイル内
- (void) textDidChange:(id<UITextInput>)textInput
{
}
- (void)dictationRecordingDidEnd
{
}
- (void)dictationRecognitionFailed
{
textViewResults.text = @"Dictation Failed";
}