My code is working perfectly to reduce the size of a UITextView
when the keyboard comes up. The problem is, the signature of the method is
- (void)keyboardDidShow:(NSNotification*)aNotification
but the calling code
//[nc addObserver:self selector:@selector(keyboardDidShow:) name:UIKeyboardDidShowNotification object:nil];
is commented out! I have searched low and high using grep and refactor in XCode (to see who else might be calling the method), and nothing comes up. I've checked the nibs just in case. I have tried cleaning targets, etc., but to no avail. If I rename the method, it does not get called (but this produces no errors). Any ideas as to how/where this method is being "wired?"