title: can a particular rect of UIview have different alpha..?
body: <p>I wan't a imageview which is semi-transparent in other parts and completely transparent in the middle .. see this image..
  <img src="https://i.stack.imgur.com/mlCOV.png" alt="enter image description here"></p>
  
  <p>i have managed to do it but it is not the best of ways.. can I only have a rect inside yellow lines transparent ...?</p>
  
  <p><strong>EDIT</strong>: Is it possible to change the alpha of a certain rect of a view..?</p>