我正在尝试圆化UIViewController的所有角。在我的ViewController中,我有以下内容:overridefuncviewDidLoad(){super.viewDidLoad()letmaskLayer=CAShapeLayer()maskLayer.path=UIBezierPath(roundedRect:view.bounds,byRoundingCorners:.AllCorners,cornerRadii:CGSize(width:10,height:10)).CGPathview.layer.mask=maskLayerletmargin=CGFloat