简体   繁体   English

选择后更改表格视图单元格吗?

[英]Change table view cell upon selection?

I have a UITableView a bit like the iPhone Mail app's in box. 我的UITableView有点像iPhone Mail应用程序的“收件箱”。 This includes the blue dot indicating the message is unread. 这包括一个蓝色的点,指示该消息未读。 How would set this image to hidden upon selection.. ? 选择后如何将该图像设置为隐藏。

There doesn't seem to be any way to refer to the cell within the didSelectRowAtIndexPath method. 似乎没有任何方法可以引用didSelectRowAtIndexPath方法中的单元格。

UITableViewCell *selectedCell = [tableView cellForRowAtIndexPath:indexPath];

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM