ios 7 customizing UITableViewCell's content view

前端 未结 5 622
春和景丽
春和景丽 2021-02-11 00:59

Using storyboard in ios7 the content view is explicitly viewed under the Table View Cell in the story board editor (opposed to previous version

5条回答
  •  爱一瞬间的悲伤
    2021-02-11 01:58

    I was able to do this by doing the following:

    1. Select the cell in the document outline
    2. Change its custom class in the Identity Inspector
    3. Place whatever elements you want into the content view
    4. Connect the IBOutlets to the elements inside the content view using the Connections Inspector

提交回复
热议问题