title: Remove "heightForRowAtIndexPath" for iOS8
body: <p>I'm trying to solve this problem for two days before finding the solution.
  Here it is.</p>
  
  <p>======</p>
  
  <p>Hi everyone,</p>
  
  <p>I actually manage the height of my tableViewCell in iOS7 with the delegate method heightForRowAtIndexPath:</p>
  
  <p>Now, in iOS8 I use the property tableView.rowHeight = UITableViewAutomaticDimension with autolayout and it works great and better than before.</p>
  
  <p>The problem is that I need to remove the heightForRowAtIndexPath: method from my code, otherwise the property doesn't work (the height is set inside and take control on the property).</p>
  
  <p>How can I do to remove this method in iOS8 only (perhaps with a compilation directive but I don't know which one) ? </p>
  
  <p>I still need it for ios7.</p>
  
  <p><a href="http://www.raywenderlich.com/forums/viewtopic.php?f=2&amp;t=18517" rel="nofollow">via</a></p>