title: How to deal with background image orientation in UIView
body: <p>I'm using setting the background image using methodology below. When I rotate my device the background repeats, which make sense because it is not an image. How do I deal with orientation change if this is the way I'm setting my background image?</p>
  
  <pre><code>- (void)viewDidLoad {
      [super viewDidLoad];
      UIColor *background = [[UIColor alloc] initWithPatternImage:[UIImage imageNamed:@"background.png"]];
      self.view.backgroundColor = background;
      [background release];
  }
  </code></pre>