title: iOS aspect fit and center
body: <p>I'd like to call</p>
  
  <p><code>[self.view setContentMode:UIViewContentModeScaleAspectFit | UIViewContentModeCenter];</code></p>
  
  <p>where <code>self</code> is an instance of <code>UIViewController</code>. This doesn't seem to work; what are the direct alternatives, if any?</p>