Monday, 25 February 2013

To set UIButton border width and color.


[[urButton layer] setBorderWidth:0.5f];
[[urButton layer] setBorderColor:[UIColor blackColor].CGColor];