且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

在表视图中添加新行时添加小滚动图标

更新时间:2023-11-29 22:33:28

其中的项在表视图外部是新的。然后对于每个表格单元格,检查项目是否是新的。如果是新的,那么在你的自定义表格单元格上设置一个图像视图来取消隐藏,你应该是好的。

Keep track of which items are new externally to the table view. Then for each of your table cells, check to see if the item is new. If it is new, then set an image view on your custom table cell to be unhidden, and you should be good.

您将需要:



  • 一个自定义单元格视图,带有您的图标