title: How to let elements (as UIImageView) float in an UIView using constraints
body: <p>I have 10 images with fixed dimensions (width, height). How do I choose the constraints in the Interface Builder when I want to let all images automatically float without any margin?</p>
  
  <p>Like this, in Portrait mode the images would be aligned as</p>
  
  <pre><code>1 2 3
  4 5 6
  7 8 9
  10
  </code></pre>
  
  <p>and in Landscape</p>
  
  <pre><code>1 2 3 4 5
  6 7 8 9 10
  </code></pre>
  
  <p>In HTML with this effect would be automatic for the <code>&lt;img&gt;</code> tag, or when you have block elements as <code>&lt;div&gt;</code> you would apply <code>float:left</code> to all elements.</p>