Subtitles of UITableViewCell won’t update

As a temporary work around I simple introduced a blank space in the text label and programmatically where I set the label text to nil, I set it to a blank space

cell.detailTextLabel.text = @" ";

Adjust your logic accordingly to deal with a lone blank space as nil.

For me the detail text label didn’t show up even though I had a string ready for it before the viewcontroller loaded. one of my many cells shows the current date in a detail text label as default whenever the view controller appears, but that didn’t work either.

I think this has something to do with the fact that the iOS 8 is not able to update the text label’s text if it set to nil initially.

So see to it that you introduce a blank space in your prototype cell as well, in interface builder. Surprisingly text in labels of my custom cells are working fine.

Leave a Comment