vendredi 4 avril 2014

Need to access my UITableViewCell class in UITableView's heightForRowAtIndexPath:


Vote count:

0




I need to set UITableViewCell height based on my UITextView height, but when I access cell sublcass using: CommentTableViewCell *cell = (CommentTableViewCell *)[tableView cellForRowAtIndexPath:indexPath]; in heightForRowAtIndexPath:, app crashes.


What's wrong? Isn't this the right way to access my custom cell class?



asked 28 secs ago






Aucun commentaire:

Enregistrer un commentaire