UITextView hat Ende Bearbeiten
Möchte ich NSLog
etwas, wenn meine UITextView ist fertig.
Habe ich versucht,
- (BOOL)textViewShouldEndEditing:(UITextView *)textView
und
- (void)textViewDidEndEditing:(UITextView *)textView
weder gearbeitet.
Update:
myTextView.delegate = self;
InformationsquelleAutor atomikpanda | 2012-10-17
Du musst angemeldet sein, um einen Kommentar abzugeben.
stellen Sie den Delegierten Ihre textview?
Update:
set delegieren .h-Datei wie folgt:
Wie kann ich es einstellen in der .h-Datei?
ViewController : UIViewController <UITextViewDelegate>
InformationsquelleAutor LianYong Lee
Wenn Sie UITextField stattdessen stellen Sie sicher, dass Sie UITextFieldDelegate und nicht UITextViewDelegate. Und stattdessen diese Methode, die Feste meine Probleme.
InformationsquelleAutor Zeezer