How can I make a UISearchDisplayController tableview rounded?
I have a UISearchDisplayController that I've added in IB. How c开发者_如何学Can I make its tableview grouped with rounded corners?
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.
Seems like I can't unless I subclass it and change the tableview to the grouped type.
精彩评论