1

I have a UISearchDisplayController that I've added in IB. How can I make its tableview grouped with rounded corners?

Sheehan Alam
  • 60,111
  • 124
  • 355
  • 556

2 Answers2

0

Not sure what is the exact view you want to round but you can round any UIView object by doing

#import <QuartzCore/QuartzCore.h>
yourView.layer.cornerRadius = 5;

Now simply outlet your view in IB and you should be done.

Original post found on stackoverflow.

Community
  • 1
  • 1
apouche
  • 9,703
  • 6
  • 40
  • 45
0

Seems like I can't unless I subclass it and change the tableview to the grouped type.

Sheehan Alam
  • 60,111
  • 124
  • 355
  • 556