Rumah > Soal Jawab > teks badan
阿神2017-04-17 13:38:48
let path = UIBezierPath(rect:self.view.bounds)
path.appendPath(UIBezierPath(rect: CGRect(x: 100, y: 100, width: 200, height: 300)).bezierPathByReversingPath())
let shape = CAShapeLayer()
shape.path = path.CGPath
blurView.layer.mask = shape