UITableView 从左向右滑动 [英] UITableView swipe left to right

查看:32
本文介绍了UITableView 从左向右滑动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

iOS/CocoaTouch 中是否有默认的 UITableViewCell 实现从左到右滑动?还是我需要图书馆?

Is there an implementation for left-to-right swiping on UITableViewCells that is default in iOS/CocoaTouch? Or do I need a library?

就像 iOS 上的默认邮件应用(标记为已读).

Just like the default mail app on iOS (mark as read).

推荐答案

从 iOS 8.2 开始,您仍然需要第三方代码来执行此操作.

As of iOS 8.2, you still need third party code to do this.

例如,您可以使用 MCSwipeTableViewCell.它有很多功能,并且在 GitHub 上得到了很好的维护.

You can use MCSwipeTableViewCell for example. It has a lot of features, and is well maintained on GitHub.

这篇关于UITableView 从左向右滑动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆