我试图在我的ViewController中有一个可拖动的UIView,最终这个UIView将变成一个可点击的按钮,但现在,当它被拖动到屏幕上时,我无法更新这个View的约束。代码如下。-(void)viewDidLoad{[superviewDidLoad];self.anotherView=[[UIViewalloc]init];UIPanGestureRecognizer*panRecognizer=[[UIPanGestureRecognizeralloc]initWithTarget:selfaction:@selector(dragging:)];[self.anotherV