title: UIView rounded corners with PatternImage
body: <p>Here, cornerRadius is not working with PatternImage, Could you please help me?</p>
  
  <pre><code>- (void)viewDidLoad
  {
      [super viewDidLoad];
  
      myView.backgroundColor = [[UIColor alloc] initWithPatternImage:[UIImage imageNamed:@"background.png"]];
      myView.layer.cornerRadius = 10.0;
  }
  </code></pre>