Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to replicate the CNN iOS app pull down menu

Does anyone know how CNN is doing their top pull down menu?

It looks like a UITableView that is called with a touch drag event but wasn't sure. Googled various keywords but was not able to turn anything up. Just looking for some guidance on how to replicate this behavior.

enter image description here

like image 790
Flea Avatar asked Dec 03 '25 10:12

Flea


1 Answers

I've no idea how it's actually done, but I know how I would do it: any view can sit completely or partially offscreen and be dragged onscreen by the user in the usual ways (e.g. a swipe or pan gesture recognizer). There's nothing special about that.

like image 190
matt Avatar answered Dec 05 '25 00:12

matt



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!