title: iOS controlling UIView alpha behaviour for subviews
body: <p>In my example, I have 3 views: one red view containing two white views. I change the red container view's alpha to 0.3 and this happens (look at the image, the current result).</p>
  
  <p>By seeing this, I can only <strong>assume</strong> (tell me if I'm wrong) that setting a view's alpha will also set all of its subviews' alphas. My question is : <strong>is there a way to simply tell the red view to act as a whole so that setting its alpha would give something that looks like the wanted result (in the image)?</strong></p>
  
  <p><img src="https://i.stack.imgur.com/NuDJi.png" alt="results"></p>
  
  <p>This is what it looks like without any alpha :</p>
  
  <p><img src="https://i.stack.imgur.com/iFiV9.png" alt="enter image description here"></p>