title: How do I draw a circle UIView that acts like one with UICollisionBehavior?
body: <p>In my app, I'm currently drawing a basic view, and then I'm trying to round it's corners using a CAShapeLayer, but the UICollisionBehavior still reacts like it's a square that is drawn.</p>
  
  <p>Here's an example of my code</p>
  
  <pre><code>  UIBezierPath *path = [UIBezierPath bezierPathWithRoundedRect:self.bounds
                                             byRoundingCorners:UIRectCornerAllCorners
                                                   cornerRadii:radiiSize];
  
  // Mask the container view’s layer to round the corners.
  CAShapeLayer *cornerMaskLayer = [CAShapeLayer layer];
  [cornerMaskLayer setPath:path.CGPath];
  self.containerView.layer.mask = cornerMaskLayer;
  self.containerView.layer.allowsEdgeAntialiasing = YES;
  </code></pre>