UITableViewCell not showing detailTextLabel.text - Swift

前端 未结 11 2347
慢半拍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:25

    For what it's worth: I had the problem of detail not appearing. That was because I had registered the tableView cell, which I should not have done as the cell prototype was defined directly in storyboard.

提交回复
热议问题