0

how can my UILabel look like as UITableViewStyleGrouped of TableView?

Chatar Veer Suthar
  • 14,765
  • 24
  • 87
  • 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,889
  • 1
  • 36
  • 53