title: Place irregular shaped images adjacently in iOS
body: <p>I have divided a rectangular shaped image into two pieces as as shown below using masking.</p>
  
  <pre><code>|--------------\-------------------------
  |               \                       |
  |       1        \                      |
  |                 \             2       |
  |                /                      |       
  |               /                       |
  |--------------/-------------------------
  </code></pre>
  
  <p>Now I have to place them in UIView using two UIImageView. How can I know what could be relative center or origin for second image. If first image at origin 0,0 then second image origin cannot be at (1stimage width, 0)  because its a irregular shape. Any suggestion would be appreciated. If I am not able to clarify it then please let me know. I will try to upload some images.</p>