title: set corner radius for one side of a button according to the view?
body: <p>I have to set the corner radius according to the UIView found in the background. I have attached the image of my development for your reference. </p>
  
  <p><a href="https://i.stack.imgur.com/1Ru5Y.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/1Ru5Y.png" alt="this is what I got after developement"></a></p>