title: Draw custom separator line between UITableViewCell on iOS 7
body: <p>Because I had some troubles using the default separator line between the <code>UITableViewCell</code> I want to use my own. Therefore I'm using auto layout. C# is the language I used. You can of course provide solutions in Objective-C.</p>
  
  <p>In the constructor of my custom cell I add my view <code>UIView</code>:</p>
  
  <pre><code>separator = new DividerView ();
  ContentView.Superview.AddSubview (separator);
  </code></pre>
  
  <p>One has to add it to the superview otherwise it doesn't cover the accessory area. In <code>updateConstraints</code> I set up my constraints:</p>
  
  <pre><code>separator.TranslatesAutoresizingMaskIntoConstraints = false;
  
  this.ContentView.Superview.AddConstraints (NSLayoutConstraint.FromVisualFormat ("H:|[separator]|", (NSLayoutFormatOptions)0, null, viewsDictionary));
  this.ContentView.Superview.AddConstraints (NSLayoutConstraint.FromVisualFormat ("V:|-(82@999)-[separator(1)]|", (NSLayoutFormatOptions)0, null, viewsDictionary));
  </code></pre>
  
  <p>This for example, does work on iOS 8 but not on iOS 7. Also this constraint <code>V:[separator(1)]|</code> would work on iOS 8 but not on iOS 7.</p>