title: Round UIVisualEffectView
body: <p>I have a map. On the map, I'd like to draw small, blurred circle. I've implemented something like this:</p>
  
  <pre><code>UIVisualEffect *visualEffect = [UIBlurEffect effectWithStyle:UIBlurEffectStyleLight];
  self.visualEffectView = [[UIVisualEffectView alloc] initWithEffect:visualEffect];
  [self addSubview:self.visualEffectView];
  </code></pre>
  
  <p>and then in <code>layoutSubviews</code>:</p>
  
  <pre><code>[self.visualEffectView setFrame:CGRectMake(0.f, 0.f, 20.f, 20.f];
  </code></pre>
  
  <p>Now the problem is making this view round. I've tried:</p>
  
  <pre><code>[self.visualEffectView.layer setCornerRadius:10.f];
  </code></pre>
  
  <p>However nothing happens. Another try was with (basing on <a href="https://stackoverflow.com/a/25392786/849616">SOF question</a>):</p>
  
  <pre><code>CAShapeLayer *mask = [CAShapeLayer layer];
  mask.path = [UIBezierPath bezierPathWithOvalInRect:self.visualEffectView.bounds].CGPath;
  self.visualEffectView.layer.mask = mask;
  </code></pre>
  
  <p>But in this case, the <code>visualEffectView</code> is round but doesn't blur :/. Is there any way to make it working?</p>
  
  <p>BTW: I've tried <code>FXBlurView</code>, however it works very slowly, I can't accept my app to load only map + blur for ~1 minute on iPhone 5.</p>