title: Rounded corners on UIView
body: <p>I am confused on how I would round corners, I've seen about <strong>10 other posts</strong> and non of them have helped me. Am I doing this correctly?</p>
  
  <pre><code>#import "QuartzCore/QuartzCore.h" // in my ViewController.h
  
  - (void)viewDidLoad
  {
  [super viewDidLoad];
  
       self.backgroundLayer.cornerRadius = 10.0f;
  }
  </code></pre>
  
  <p>If somebody could help me out on this it'd be greatly appreciated. </p>