DETAIL TEXT VIEW OF CELL NOT SHOWING?

Tarun Kumar

Total Post:214

Points:1642
Posted by  Tarun Kumar
 766  View(s)
Ratings:
Rate this:

Hi I started writing a split view app for iPad using the split-view template. In the root view controller (the table view on the left) I am trying to set the detail text label of the cells like this:

cell.detailTextLabel.text = [NSString stringWithFormat:@"%d",

indexPath.row];

However when I run the app only the main text label (the label on the left of the cell). There is nothing that shows up in the detail label.

What am I doing wrong?

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!