我设置一个按钮动作是这样的:的UITableView setContentInset不工作
[UIView beginAnimations:nil context:nil];
[UIView setAnimationDuration:0.3];
[tableView setContentInset:UIEdgeInsetsMake(40, 0, 0, 0)];
[UIView commitAnimations];
但是,该的tableView不若contentSize.height > tableView.frame.size.height
下移。 解决方案是什么?
确定“'tableView'”不为NULL ... –