Search code examples
swiftuiimagepickercontroller

How to transparent black color in camera swift


I am trying to make the black bars at top as well as bottom in camera transparent. How do I make it transparent: this is my camera

thanks in advance


Solution

  • Add a new UIView which is black color and view width-height will be same to old view with transparent and your old view color should be clear and alpha 1 hope u get solution from this ....