title: UIImageView Border Problem
body: <p>I'm adding a border to a UIImageView subclass of mine which works great:</p>
  
  <pre><code>self.layer.borderColor = [UIColor whiteColor].CGColor;
  
  self.layer.borderWidth = 10;
  </code></pre>
  
  <p>Upon adding a UIImageView to the top of the image however, I noticed that the border is covering the image up!</p>
  
  <pre><code>UIImage*pin = [UIImage imageNamed:@"PinDown2"];
  
  UIImageView*view = [[UIImageView alloc] initWithImage:pin];
  
  view.frame = CGRectMake(self.bounds.size.width/2, 0, 32, 39);
  
  [self addSubview:view];
  </code></pre>
  
  <p>How can I fix this? </p>