title: Set background color for UIView
body: <p>I have a problem when setting the background color for a UIView. What I am doing is:</p>
  
  <pre><code>- (void) viewDidLoad {
      [super viewDidLoad];
  
      self.view.backgroundColor = [UIColor clearColor];
  }
  </code></pre>
  
  <p>but I am getting a black background color as shown below:</p>
  
  <p><img src="https://i.stack.imgur.com/kGuZF.png" alt="Incorrect Background Color - Illustrated"></p>
  
  <p>If I change the background to any another color it works. Any ideas about this ?</p>