开发者

to change the UITAbleVIewCell shape to round rect

开发者 https://www.devze.com 2023-02-22 09:37 出处:网络
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

how to change shape of rectangular `UITable开发者_开发知识库ViewCell (showing customer1 in screenshot

to change the UITAbleVIewCell shape to round rect

) 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/

0

精彩评论

暂无评论...
验证码 换一张
取 消