title: Adding Background Image into View Controller
body: <p>I tried to use this code under in my app delegate in order to add a PNG image as a view controller's background :</p>
  
  <pre><code>- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
  {
      [[self window] setBackgroundColor:[UIColor colorWithPatternImage:[UIImage imageNamed:@"background.png"]]];
  
      return YES;
  }
  </code></pre>
  
  <p>but I have no luck with it... the view controller still has a white background. What's wrong with that code?</p>