vendredi 27 février 2015

What's the Best Way to Get a "Down Drag" from a UITableView?

I have a UITableView, and it displays data received from a WiFi-connected device.


I want to do the fairly bog-standard gesture response of dragging a table down, then releasing it, to trigger an update.


I guess I could attach a swipe gesture recognizer to the table's substrate view, but I'm wondering if there is a way to intercept this gesture directly from the table itself.



META:


I've been looking through the various docs and whatnot. I haven't had to do this before, so I never gave it any thought. Now I see that I probably should have thought about it.


If this is an obvious solution, I don't mind being told so, as long as you help me to find the "obvious" remedy. I'll delete this question if it's a bad one.


However, I haven't found a solution, and I'm usually fairly good at that kind of thing.





Aucun commentaire:

Enregistrer un commentaire