Iphone 由于tableView的委托实现而导致的旧单元布局

Iphone 由于tableView的委托实现而导致的旧单元布局,iphone,ipad,uitableview,Iphone,Ipad,Uitableview,警告:由于在中委托实现了表视图:accessoryTypeForRowWithIndexPath:,因此使用传统单元格布局。请删除此方法的实现,并将单元格属性accessoryType和/或编辑accessoryType设置为移动到新的单元格布局行为 这里, 在iPhone OS 3.0中,不推荐使用accessoryTypeForRowWithIndexPath 而是这样设置 cell.accessoryType = UITableViewCellAccessoryDetailDisclosu

警告:由于在
中委托实现了
表视图:accessoryTypeForRowWithIndexPath:
,因此使用传统单元格布局。请删除此方法的实现,并将单元格属性accessoryType和/或编辑accessoryType设置为移动到新的单元格布局行为

这里, 在iPhone OS 3.0中,不推荐使用
accessoryTypeForRowWithIndexPath

而是这样设置

cell.accessoryType = UITableViewCellAccessoryDetailDisclosureButton;
现有答案-