【发布时间】:2015-07-20 11:38:56
【问题描述】:
这是我的功能
- (void)keyboardWillShow:(NSNotification *)notification
{
keyboardSize = [notification.userInfo[UIKeyboardFrameBeginUserInfoKey] CGRectValue].size;
CGRect frame = [self.tableView frame];
frame.size.height -= keyboardSize.height;
[self.tableView setFrame:frame];
}
效果很好,但是当键盘出现时,我希望将黑色背景设置为白色或清晰。
在点击编辑之前
在键盘打开时单击后
键盘已打开并准备好输入
有什么办法吗?
【问题讨论】:
标签: objective-c uitableview scroll keyboard