title: Why my does blur view become transparent when I combine with UIImagview?
body: <p>I have this blur effect that combines with a UIImageView. The problem Im having is when I take a picture the blur effect becomes transparent and doesn't look the same before it was rendered. Why does this happen?</p>
  
  <pre><code>@IBAction func pictureButton(_ sender: Any) {
      let settings = AVCapturePhotoSettings(format: [AVVideoCodecKey: AVVideoCodecType.jpeg])
      stillImageOutput.capturePhoto(with: settings, delegate: self)
  
  
  }
  
  func photoOutput(_ output: AVCapturePhotoOutput, didFinishProcessingPhoto photo: AVCapturePhoto, error: Error?) {
  
      guard let imageData = photo.fileDataRepresentation()
          else { return }
  
      let image = UIImage(data: imageData)
  
      capturedImage.image = image
  
      UIGraphicsBeginImageContextWithOptions(self.capturedImage.bounds.size, false, 0.0)
      self.capturedImage.layer.render(in: UIGraphicsGetCurrentContext()!)
      self.previewView.blurEffectView.layer.render(in: UIGraphicsGetCurrentContext()!)
      let newImage: UIImage = UIGraphicsGetImageFromCurrentImageContext()!
      UIGraphicsEndImageContext()
  
      self.capturedImage.image = newImage
  }
  </code></pre>