title: Autolayout issue with core-data binding in iOS 8.1 but not in iOS 7
body: <p>I have an app that uses a UITableViewController, core-data, and UITextViews in the table rows which automatically adjust their vertical size based upon the size of the text they hold.  The size adjustment is done the old fashioned pre-iOS8 (i.e no autosizing cells) way using tableView:heightForRowAtIndexPath and autolayout constraints.  The cells also use auto-layout to position buttons such as a "clear text" button.  That button is pinned to be 10pts inside of the superview's (UITableViewCell.contentView) trailing edge.</p>
  
  <p>The code works fine in iOS 6, 7, and 7.1, but fails in iOS 8.1.  The layout loads properly in iOS 8.1, but as soon as the user starts typing in the text box, the anchored buttons start jumping around and eventually are placed too far to the right, almost outside of the UITableViewCell.</p>
  
  <p>iOS 7.1, CORRECT:</p>
  
  <p><img src="https://i.stack.imgur.com/CqZyt.png" alt="Buttons pinned correctly 10pts from cell trailing edge"></p>
  
  <p>iOS 8.1, INCORRECT: </p>
  
  <p><img src="https://i.stack.imgur.com/Q8vNv.png" alt="Buttons too far to the right"></p>
  
  <p>If I comment out the line ("translation.text1Text = changedTextView.text;")  which binds the changed text to the core data model, the problem doesn't show, but of course the textview doesn't resize properly either.  So I'm thinking this may have something to do with how self.tableView beginUpdates/endUpdates interacts with auto-layout constraints in iOS 8.</p>
  
  <p>I have put a full sample app with source code demonstrating the issue on <a href="https://github.com/SpencerY2/TestApp2" rel="nofollow noreferrer">https://github.com/SpencerY2/TestApp2</a> .</p>
  
  <p>Not sure whether this might be related to either of these two other iOS8 autolayout issues: 1) 
  <a href="https://stackoverflow.com/questions/25954831/issue-with-auto-layout-on-ios-8-code-works-perfectly-on-ios-7">Issue with Auto Layout on iOS 8 (code works perfectly on iOS 7)</a> , 2) <a href="https://stackoverflow.com/questions/26461850/auto-layout-issue-in-ios-8-works-fine-in-ios-7">https://stackoverflow.com/questions/26461850/auto-layout-issue-in-ios-8-works-fine-in-ios-7</a></p>
  
  <p>Any help would be most appreciated.</p>
  
  <p>p.s. the app needs to run on iOS 6+ so using autosizing cells is not an option for now.</p>