Omar Freewan Omar Freewan - 19 days ago 9
Objective-C Question

Discarding message for event 0 because of too many unprocessed messages

I added two text fileds to my project , I connect on of them to its related property the project works fine , once i connect the second and run then start editing the second text field the application stop responding and after some time it gives me the following error in the log

Discarding message for event 0 because of too many unprocessed messages


i tried to delete is and connect it again many times it has the same problem

Answer

The problem solved when I use the following text field delegate

- (BOOL)textFieldShouldReturn:(UITextField *)textField{
    return NO;
}