title: Corner Radius for a Label on UItableviewCell is not applying in xcode 8
body: <p>Here is my code </p>
  
  <pre><code>[cell.label.layer setCornerRadius:cell.label.frame.size.width/2];
  </code></pre>
  
  <p>here is what I tried :-</p>
  
  <pre><code>cell.label.clipsToBounds = YES;
  </code></pre>
  
  <p>also tried :-</p>
  
  <pre><code>cell.label.layer.masksToBounds = YES;
  </code></pre>
  
  <p>also I have Imported:-</p>
  
  <pre><code>#import &lt;QuartzCore/QuartzCore.h&gt;
  </code></pre>
  
  <p>none of these approaches works.</p>
  
  <p>Also I have tried it in both IOS 9 and IOS 10 and in Simulator as well as device,
  anyone there who is facing the same Issue?</p>
  
  <p><strong>Answer</strong></p>
  
  <p>Well After some trial and error Methods I found that passing absolute value to the corner radius parameter worked.</p>
  
  <pre><code>[cell.label.layer setCornerRadius:20.0];
  </code></pre>
  
  <p>which comes to the last question how can you set corner radius for label dynamically when using Storyboard for tableview.</p>