title: UITableViewCell layoutMargin and separatorInset not "in sync" when in PageSheet
body: <p>Simple scenario, but the problem is driving me crazy..</p>
  <p><strong>What I want to achieve:</strong>
  UITableViewCell's contentView to be aligned with separatorInset in each and every scenario.</p>
  <p><strong>Result:</strong> The layoutMargin.left is different from separatorInset when shown in a Popover as page sheet (i.e. iPhone 6/6S Plus) with iOS 8.1-8.2 and iOS 9.x. iOS 8.3 and 8.4 work fine.</p>
  <p><strong>Cell Settings:</strong></p>
  <ul>
  <li>preservesSuperviewLayoutMargins and contentView.preservesSuperviewLayoutMargins are true</li>
  <li>autoLayout of Label is pinned to superView margins with constant 0</li>
  </ul>
  <p><strong>Investigations:</strong>
  If found this post from matt, explaining the underlying problem a bit:
  <a href="https://stackoverflow.com/a/29712427/844907">https://stackoverflow.com/a/29712427/844907</a></p>
  <p>I implemented a layoutDidChange method to check the margins:</p>
  <pre><code>override func layoutMarginsDidChange() {
      debugPrint(&quot;layoutMarginsDidChange: &quot;, layoutMargins.left, contentView.layoutMargins.left, separatorInset.left)
  }
  </code></pre>
  <p>Some of the returned values after a few rotations from PageSheet to FullScreen:</p>
  <blockquote>
  <p>&quot;layoutMarginsDidChange: &quot; 16.0 16.0 20.0 (&quot;real&quot; popOver on 6+ with 8.2)
  &quot;layoutMarginsDidChange: &quot; 20.0 20.0 20.0 (FullScreen 6+ with 8.2)</p>
  </blockquote>
  <p>Or on iPhone 6+ 9.3:</p>
  <blockquote>
  <p>FullScreen (both lines!):</p>
  <p>&quot;layoutMarginsDidChange: &quot; 8.0 8.0 20.0</p>
  <p>&quot;layoutMarginsDidChange: &quot; 20.0 20.0 20.0</p>
  <p>After rotation to pageSheet:</p>
  <p>&quot;layoutMarginsDidChange: &quot; 16.0 16.0 20.0</p>
  </blockquote>
  <p>Last value is the separator.left, first two are the layoutMargins.left and contentView.layoutMargins.left.</p>
  <p>Any idea how to fix this?</p>
  <p>I though of setting layoutMargins.left to separatorInset.left but this doesn't felt right without knowing the source of the problem..</p>
  <p>See images below:</p>
  <p><a href="https://i.stack.imgur.com/aZFAl.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/aZFAl.png" alt="Fullscreen" /></a>
  <a href="https://i.stack.imgur.com/I83ve.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/I83ve.png" alt="Page Sheet" /></a></p>