Is it possible to change how radius of the grouped UITableView? The rounded corners are way to drastic for my design.
相关问题
- CALayer - backgroundColor flipped?
- Core Data lightweight migration crashes after App
- Core Data lightweight migration crashes after App
- How can I implement password recovery in an iPhone
- State preservation and restoration strategies with
相关文章
- 现在使用swift开发ios应用好还是swift?
- UITableView dragging distance with UIRefreshContro
- Could I create “Call” button in HTML 5 IPhone appl
- TCC __TCCAccessRequest_block_invoke
- Where does a host app handle NSExtensionContext#co
- Unable to process app at this time due to a genera
- Swift - hide pickerView after value selected
- Popover segue to static cell UITableView causes co
You have to change both
cell.backgroundView
andcell.selectedBackgroundView
with a view of your choice.No, it isn't. You can duplicate it though with a standard tableview and a couple custom background images.
I believe that the only way to do this is to provide your own background images for your table cells. You can provide 3 images to have a rounded feel to the
UITableView
like Apple Does.in
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
set the cell's backgroundView to aUIView
with the image you want based on the cell index. This will allow you to set the Top, Middle and Bottom.This is a pretty good article
http://cocoawithlove.com/2009/04/easy-custom-uitableview-drawing.html
just be sure to
dequeueReusableCellWithIdentifier: