【问题标题】:How to implement swipe to reveal cell from both sides如何实现滑动以从两侧显示单元格
【发布时间】:2015-09-29 05:40:00
【问题描述】:

如何使用自动布局和 swift 实现滑动以从右侧和左侧显示单元格。

例如,当用户向右滑动时,我需要显示一些标签,如果用户向左滑动,我想显示一些按钮。

【问题讨论】:

标签: ios swift uitableview uiscrollview


【解决方案1】:

这是与 cocoapods 一起使用的好方法:

https://cocoapods.org/pods/MGSwipeTableCell

使用 swift 参考这里:

https://github.com/MortimerGoro/MGSwipeTableCell/issues/19

【讨论】:

    猜你喜欢
    • 2017-09-28
    • 1970-01-01
    • 2018-07-22
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多