ios - 按下按钮后滑出

标签 ios swift uitableview

按下按钮(三个垂直点图标)后是否可以使表格单元格向左滑出?

这是一张图片:

enter image description here

最佳答案

看一下方法: func deleteRowsAtIndexPaths(_indexPaths: [NSIndexPath], withRowAnimation 动画: UITableViewRowAnimation)

您正在寻找的动画可能是UITableViewRowAnimation.Left

关于ios - 按下按钮后滑出,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38846978/

相关文章:

ios - UItableview从下往上重新加载动画

iphone - 将 indexpath 行传回父 View

ios - 以编程方式设置的 UILabel 具有模糊文本(整数帧值)

swift - 使用非托管对象从不正确的线程访问 Realm

swift - 如何在 Swift 中使用完成处理程序链接函数?

swift - SceneKit Swift 2.0 碰撞检测(SCNPhysicsContactDelegate)

ios - UITableViewCell 在不改变其内容布局的情况下调整高度

ios - "Core Data could not fulfill a fault"对于在主线程上的 appDelegate managedObjectContext 中创建的对象

ios - 分段控制激活

ios - 使用多个自定义 UITableViewCells