skip to Main Content

I want to show an image on whole screen and background should be transparent but image should not be transparent. Please help me with this.

2

Answers


  1. Please select background color black and Opacity 50%

    enter image description here

    enter image description here

    Login or Signup to reply.
  2. I’m not sure if I understand correctly but I guess you just have to set the UIImageViews backgroundColor to .clear and define the color of your UIViewControllers view holding the UIImageView to whichever color you want / think fits.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search