WatchKit:调用错误中的额外参数完成

WatchKit: Extra argument completion in call error

我在我的 InterfaceController(手表扩展)上收到此错误,但在我的 iphone viewcontroller:

上没有
self.animate(withDuration: 0.2, animations: {
    self.someButton.setAlpha(0.5)
}, completion: {

})

什么给了?

在 UIKit 中,animate(alongsideTransition:completion:) takes a completion parameter, but WatchKit's animate(withDuration:animations:) 没有。