forum

Home / DeveloperSection / Forums / Unable to display text using cell.detailTextLabel.text

Unable to display text using cell.detailTextLabel.text

Anonymous User 1590 17-Nov-2015
I have getting problem with this code that is not displaying text in table view cell.
here is the code:.
cell.textLabel.text = [arrayObj1 objectAtIndex:indexPath.row];  
cell.detailTextLabel.text = [arrayObj2 objectAtIndex:indexPath.row]];  
NSLog(@"%@", [arrayObj1 objectAtIndex:indexPath.row]);
but, NSLog displays the value of arrayObj1, then why table view cell not displaying the text.
Please suggest me the reason, why it's not working?

Updated on 17-Nov-2015
I am a content writter !

Can you answer this question?


Answer

1 Answers

Liked By