UITextViewDelegate를 구현하고 UITextView에 대한 대리인으로 연결된 UIViewController가 있습니다. 텍스트 뷰가 도청 될 때마다, 나는에 대한 호출 수 :UITextView 대리자가 모든 메서드 호출을받지 못합니다.
- (void)textViewDidChange:(UITextView *)textView
그러나 때 :
- (void)textFieldDidBeginEditing:(UITextField *)sender
과를 변경보기 (키보드, 프로그래밍 변경)의 내용, 나는에 전화를받을 때마다 키보드의 Return 키를 누르면 다음 번호로 전화하지 않습니다.
- (BOOL)textFieldShouldReturn:(UITextField *)textField
이 방법과 다른 점이 있습니까? 이 전화를받을 수 있도록 특별한 설정이 필요합니까?
미리 감사드립니다.
Nevermind. UITextField ... UITextView입니다. 응. – Zach