UITableViewCell Swipe for Drawer

前端 未结 5 617
醉梦人生
醉梦人生 2021-02-04 15:31

This is really more of a curiosity than a hard coding question.

Both Facebook and Twitter both have a feature where swiping a UITableViewCell animates the cell off the s

5条回答
  •  北恋
    北恋 (楼主)
    2021-02-04 16:27

    This is a problem I have tried a couple of different solutions to. I really liked the behavior of Mailbox (mailboxapp.com). So I set out to achieve this. In the end I ended up with what I believe is a very simple solution: use a UIScrollView inside your cell. I have blog post that discusses and a sample app that demonstrates this behavior.

提交回复
热议问题