在TableviewController中
- (void) viewDidload
{
[[NSNotificationCenter defaultCenter] addObserver:self
selector:@selector(keyboardWillShow)
name:UIKeyboardWillShowNotification
object:nil];
}
-(void) keyboardWillShow
{
// 在这里改变界面,
}
在TableviewController中
- (void) viewDidload
{
[[NSNotificationCenter defaultCenter] addObserver:self
selector:@selector(keyboardWillShow)
name:UIKeyboardWillShowNotification
object:nil];
}
-(void) keyboardWillShow
{
// 在这里改变界面,
}