0.05).isActive = trueCannot convert value of type 'NSLayoutDimension' to expected argument type 'NSLayoutAnchor<NSLayoutXAxisAnchor>'
如何使用NSLayoutAnchor创建所需的前导约束
这是有问题的代码 let vertivalConstraint = textField.centerYAnchor.constraint(equalTo: self.codeView.centerYAnchor) let trailingConstraint = textField.trailingAnchor.c