#pragma mark UITextFieldDelegate
- (BOOL)textFieldShouldBeginEditing: (UITextField *)textField
{
[UIView beginAnimations: nil context: nil];
self.tableView.contentInset = UIEdgeInsetsMake(0, 0, 280, 0);
NSIndexPath *indexPath = [NSIndexPath indexPathForRow:textField.tag - tag_index_cell_start inSection: 0];
[self.tableView scrollToRowAtIndexPath: indexPath
atScrollPosition: UITableViewScrollPositionBottom
animated: YES];
[UIView commitAnimations];
return YES;
}
本文将介绍如何使用Objective-C语言进行iOS应用开发,包括基本语法、开发环境配置、常见框架使用及实战案例分析。
1万+

被折叠的 条评论
为什么被折叠?



