how to change shape of rectangular `UITable开发者_开发知识库ViewCell (showing customer1 in screenshot
) to round rect?your question is not very clear but the screen shot is of group table , if want to make such cells then you can use group table.
That's a cell? Use a Custom Cell :) Look at it here.
You need to use a group table. You can set the group table style in Interface Builder, or programmatically you need to create the table with that style:
- (id)initWithStyle:(UITableViewStyle)style {
// Override initWithStyle: if you create the controller programmatically and want to perform customization that is not appropriate for viewDidLoad.
if (self = [super initWithStyle:UITableViewStyleGrouped]) {
}
return self;
}
Did you try this http://atastypixel.com/blog/easy-rounded-corners-on-uitableviewcell-image-view/
精彩评论