title: How to Add Bevel to UITableViewCell
body: <p>I need to add a bevel to my UITableViewCell's (white line on top, dark line on bottom).  I already have a CAGradientLayer added as a subview of my cell.layer. Unfortunately I can't use a UIImageView as a background for my cells, so this will need to be done in code.  Any suggestions?  Thanks!</p>
  
  <p>This is the code I have now for my cell background.</p>
  
  <pre><code>CAGradientLayer *gradientLayer = [CAGradientLayer layer];  
  gradientLayer.frame = cell.frame;  
  gradientLayer.colors = [NSArray arrayWithObjects:
      (id)[[UIColor colorWithRed:0.988 green:0.988 blue:0.988 alpha:1.0] CGColor],
      (id)[[UIColor colorWithRed:0.9294 green:0.9294 blue:0.949 alpha:1.0] CGColor],
      nil];  
  [cell.layer insertSublayer:gradientLayer atIndex:0];
  </code></pre>
  
  <p>This looks fine, but I would like to have a 1 pixel dark line on the bottom and a 1 pixel white line on the top to finish the look.</p>