Note that there are some explanatory texts on larger screens.

plurals
  1. POGrouped UITableView Footer Sometimes Hidden On Quick Scroll
    primarykey
    data
    text
    <p>OK, this one is a puzzler. There is <a href="https://stackoverflow.com/questions/1116121/weird-uitableview-behavior-after-scrolling-and-inserting-new-row">one similar post</a> but it's not similar enough to count, so I'm posting this one. :)</p> <p>I've got a grouped <strong>UITableView</strong> with a header and footer. The footer includes two <strong>UIButton</strong> views, side-by-side. Nothing major.</p> <p>Now … there is a toggle button in a <strong>UIToolbar</strong> at the bottom for more/less info in this table view. So I build my index paths to delete/insert with fade row animation, all the usual ingredients, sandwiched between <code>beginUpdates</code> and <code>endUpdates</code> calls on the <strong>UITableView</strong> … and this works fine! In also happens that my footer can sometimes be pushed off past the bottom of the display.</p> <p>Here's where it gets weird. If I drag my finger up the display, scrolling the view upward, I should see that footer eventually, right?</p> <p>Well … most of the time I do. BUT, if I flick my finger up, for a faster scroll, the footer is <em>missing</em>. Even if you try to tap in that area - no response.</p> <p>However, if I scroll back down again, just to hide that footer (or rather hide the area where the footer would normally be), and then scroll back up, it's there once again!</p> <p>This only happens when <em>inserting</em> rows. If I delete rows, the footer stays put … unless of course it was already hidden and I didn't perform the aforementioned incantation to get it back. <code>:)</code></p> <p>I am trying to trace through this, but to no avail. I suppose tracing through scroll operations is a bit of a crazy proposition! Perhaps some creative logging … suggestions, anyone? Or is this a known issue in 3.1 where row insert/deletes are concerned? (I don't recall seeing it until 3.1.)</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload