【发布时间】:2015-12-24 07:55:57
【问题描述】:
我有这个表格动画的代码:
UIView.animateWithDuration(0.33, delay: 0, options: UIViewAnimationOptions.CurveEaseOut | UIViewAnimationOptions.AllowUserInteraction, animations: { () -> Void in
self.myTableView.setContentOffset(CGPoint(x: 0, y: offSetY), animated: false)
}, completion: nil)
我想要额外的选项UIViewAnimationOptions.AllowUserInteraction,但我收到错误:“| 不能应用于两个 UIViewAnimationOptions 操作数”。我怎样才能添加这个?在 Objective-c 中工作。
【问题讨论】:
-
欲了解更多详情,请查看此(相同)线程stackoverflow.com/questions/24081192/…
标签: ios swift uiviewanimation