我正在尝试将参数传递给函数以动态更改动画block中的布局约束。这个有效:funcmoveKeyboard(up:Bool,newMargin:Int){UIView.animateWithDuration(0.2,delay:0,options:.CurveEaseIn,animations:{self.topMarginConstraint.constant=10;},completion:{finishedinprintln("Animationend!")})}这不是(我得到错误“找不到成员CurveEaseIn”):funcmoveKeyboard(up:Bool,newMa