我正在构建一个在iPad上编辑PDF的应用。我正在尝试使用添加到PDFView的superView的panGesture识别器来实现注释的拖动。问题是注释的新矩形边界已分配,但更改未反射(reflect)在屏幕上。这是我的代码:@objcfunchandlePanGesture(panGesture:UIPanGestureRecognizer){lettouchLocation=panGesture.location(in:pdfView)guardletpage=pdfView.page(for:touchLocation,nearest:true)else{return}letl