<p class="p1"><span class="s1">#import </span><QuartzCore/QuartzCore.h></p><p class="p1"/><p class="p1">
</p><title/><p class="p1">//<span class="Apple-tab-span"> </span>myToolBar.clipsToBounds=YES;</p>
<p class="p1">// CALayer *l=myToolBar.layer;</p>
<p class="p1">// // set corner radious</p>
<p class="p1">// [l setCornerRadius:10];</p>
<p class="p1">// // to apply border on corners</p>
<p class="p1">// [l setBorderColor:[[UIColor colorWithRed:31.0/255.0 green:157.0/255.0 blue:202.0/255.0 alpha:0.5] CGColor]];</p>
<p class="p1">// // to apply set border width.</p>
<p class="p1">// [l setBorderWidth:5.0];</p><p/>