开发者

table view Warning

开发者 https://www.devze.com 2023-01-08 05:58 出处:网络
i have tried the table view sample with the viewcontroller.when im running i got this error 开发者_如何转开发may i know wher im making mistake

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

精彩评论

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