UITableViewCell not showing detailTextLabel.text - Swift

前端 未结 11 2234
慢半拍i
慢半拍i 2020-12-14 06:45

The detail (subtitle) text does not appear. The data are available, though, because when a println() call is added, it prints Optional(\"data\") to the console with the expe

11条回答
  •  有刺的猬
    2020-12-14 07:14

    If you still want to use prototype cell from your storyboard, select the TableViewcell style as Subtitle. it will work.

提交回复
热议问题