title: Rectangle Layout in IOS Collage App
body: <p>I want to make a collage application like "Pic Collage"
  <a href="https://itunes.apple.com/in/app/pic-collage/id448639966?mt=8" rel="nofollow">https://itunes.apple.com/in/app/pic-collage/id448639966?mt=8</a></p>
  
  <p>Here I am stuck in a functionality in which we can make collage for predefined rectangular layouts.
  When we select any layout the pictures on screen automatically fitted in the selected layout design and layouts are dynamic with number of pictures on the screen.</p>
  
  <p>Please suggest how this functionality of creating layouts and fitting images in the layout can be implemented?</p>
  
  <p>Following is link to layout that I am looking for:
  1. <a href="https://www.dropbox.com/s/ge4mhx9vkyb9s2n/IMG_4914.PNG" rel="nofollow">https://www.dropbox.com/s/ge4mhx9vkyb9s2n/IMG_4914.PNG</a></p>