title: How can I create diagonal cut view to use in profile screen?
body: <p>I have one screen and I need to add diagonal cut view in it after imageview. </p>
  
  <p>Here is the screenshot of what I need to make,</p>
  
  <p><a href="https://i.stack.imgur.com/mXKr8.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/mXKr8.png" alt="Profile screen"></a></p>
  
  <p>So please help me in creating this kind of view.</p>
  
  <p>I have referred <a href="https://stackoverflow.com/questions/43900191/how-do-i-create-an-uiimageview-with-a-diagonal-cut">this</a></p>
  
  <p>and <a href="https://stackoverflow.com/questions/26339943/create-a-uiview-with-only-one-diagonal-side">this</a> questions.</p>
  
  <p>But I want to know if there is any more reliable way to achieve this.</p>
  
  <p>Thanks in advance.</p>