我有一個分組 UITableView。我實施了tableView(:titleForHeaderInSection :)和tableView(:titleForFooterInSection :)。當我滾動一張長桌子時,我可以看到部分頁眉和頁腳包含了預期的數據。當我到達桌子的底部,然後拖動以查看最後一部分的頁腳時,它具有正確的數據,但是當我釋放手指時,頁腳向下滾動,超過屏幕底部並且不在視圖中。最後一節的最後一個單元格出現在屏幕的底部,而不是最後一節的頁腳。UITableView - 上一節的頁腳從屏幕底部滾動。如何預防?
如何解決? There's the last section and its footer. My finger is still on the screen
When I release my finger, the final footer slides off the bottom of the screen.
我用了一個TableViewController,並找不到調整tableView的方法,如vids(很好的觸摸!)所示。我探討了一個能夠使用方法3,似乎工作。其中一天,我會理解它。謝謝。 – MACE
很高興我幫助... – Joe