XCode: Setting up multiple UITableView columns

后端 未结 3 1176
天命终不由人
天命终不由人 2021-01-24 14:27

I haven\'t found a good answer to this, and I must be dense, but...

I\'m trying to get a table view set up with an image and a label in each row. The image would be an

3条回答
  •  心在旅途
    2021-01-24 14:52

    If you just want an image and a label set your tableview cell's style to UITableViewCellStyleDefault add your image to the cell's image view.

    See: http://developer.apple.com/library/ios/#documentation/userexperience/conceptual/TableView_iPhone/TableViewStyles/TableViewCharacteristics.html#//apple_ref/doc/uid/TP40007451-CH3-SW14

    and

    http://developer.apple.com/library/ios/#documentation/UIKit/Reference/UITableViewCell_Class/Reference/Reference.html#//apple_ref/c/econst/UITableViewCellStyleDefault

提交回复
热议问题