摘要: 转自:http://www.cocoachina.com/bbs/simple/?t41614.html- (void) registerForKeyboardNotificati*****{[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(keyboardWasShown:) name:UIKeyboardDidShowNotification object:nil];[[NSNotificationCenter defaultCenter] addObserver:self selector: 阅读全文