0

Calling AVCaptureDevice.showSystemUserInterface(.videoEffects) on an unsupported device or without an active video feed can result in a faulty screen.

How to programatically determinate if the current device supports videoEffects at all ?

I found which devices support Depth Control on Apple Support but I hardcoding isn't the best solution.

The faulty screen: enter image description here

The correct screen: enter image description here

Laszlo
  • 2,803
  • 2
  • 28
  • 33

0 Answers0