在UISearchController激活和停用时,快速保存选定的TableView Cell

时间:2019-03-11 18:17:12

标签: ios swift uitableview uisearchcontroller

当用户使用UISearchController时,如何保存选定的单元格?他们将使用UISearchController,选择单元格,然后按“取消”,默认列表现在将显示选定的单元格以及未选定的单元格。

didSelectRowAt代码

<path
   id="path5635"
   d="m 256,342.5 c -2.988,-4.353 -4.224,-16.005 -4.224,-16.005 0,0 -12.516,12.865 -22.585,26.184 -10.07,13.318 -18.961,23.69 -32.018,32.656 -13.06,8.966 -55.413,44.449 -58.141,59.132 0,0 -2.532,8.533 6.468,11.533 9,3 22,-3 31.5,-9.5 9.5,-6.5 31.5,-22 38.374,-33.1 5.995,-9.682 20.626,-38.9 27.126,-49.4 5.843,-9.439 13.5,-21.5 13.5,-21.5 z"
   inkscape:connector-curvature="0"
   style="fill:#aa0e0e" />

0 个答案:

没有答案