0

how can my UILabel look like as UITableViewStyleGrouped of TableView?

Chatar Veer Suthar
  • 15,541
  • 26
  • 90
  • 154

1 Answers1

5

At the top of the source file:

#import <QuartzCore/QuartzCore.h>

To set up the label:

label.backgroundColor = [UIColor whiteColor];
label.layer.cornerRadius = 10.0;
label.layer.borderColor = [UIColor blackColor].CGColor;
label.layer.borderWidth = 1.0;
CharlieMezak
  • 5,999
  • 1
  • 38
  • 54