开发者

Slide over UITableViewCell, present another cell. Framework?

I am trying to find either a framework or make one myself that can do this:

When you slide/swipe across a UITableViewCell, another cell gets displayed (with options such as Share on Twitter, Facebook, email etc). The Twitter-app has got this, and I was wondering if there was an open framework for it.

If not, where do you recommend I start to make this on my own?

Thanks.


To detect a swipe, use Apple's UISwip开发者_运维技巧eGestureRecognizer.


I created the same thing a couple of months ago. Unfortunately, I can't find the code itself right now, but here are some guidelines:

  1. To handle swipe gesture use examples like this or google - there are tons of swipe detection manuals :).
  2. To show different view, use [UIView beginAnimations]. You may show new UIView instead of UITableViewCell's contentView.

Please let me know if you have questions.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜