i have tried the table view sample with the viewcontroller.when im running i got this error 开发者_如何转开发may i know wher im making mistake
WARNING: Using legacy cell layout due to delegate implementation of tableView:accessoryTypeForRowWithIndexPath
tableView:accessoryTypeForRowWithIndexPath:
is deprecated in iPhone OS 3.0 with the following note:
Use the accessory-view and accessory-type properties (for both normal and editing modes) of the UITableViewCell class when configuring table-view cells.
They mean you should set accessoryType/accessoryView properties in tableView:cellForRowAtIndexPath:
instead.
精彩评论