Does UITextField ignore the inputDelegate? Using the following code:
- (void)viewDidLoad
{
[super viewDidLoad];
self.textField.inputDelegate = self;
NSLog(@"textField: %@", self.textField);
NSLog(@"delegate: %@", self.textField.inputDelegate);
}
I get the following output:
2012-03-26 20:43:49.560 InputTest[33617:f803] textField: <UITextField: 0x6c093a0; frame = (20 20; 280 31); text = ''; clipsToBounds = YES; opaque = NO; autoresize = RM+BM; layer = <CALayer: 0x6c094d0>>
2012-03-26 20:43:49.561 InputTest[33617:f803] delegate: (null)
It runs just fine, without warning or exception, and the delegate property works just fine. But setting the inputDelegate causes no change and the delegate methods are not called.