设置表格的选中背景为圆角

 

  
  
  
  
  1. UIView *selectedBackgroundView = [[UIView alloc] initWithFrame:[tableView rectForRowAtIndexPath:indexPath]]; 
  2.  
  3.         selectedBackgroundView.backgroundColor = [UIColor colorWithRed:0.80 green:0.92 blue:0.96 alpha:1.00]; 
  4.  
  5.         l_cell.selectedBackgroundView = selectedBackgroundView; 
  6.  
  7.         OUOSafeRelease(selectedBackgroundView); 

 

你可能感兴趣的:(背景,表格,UITableViewCell,圆角)