开发者

table view Warning

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜