title: AutoLayout labels getting cut off on right side of screen
body: <p>I'm trying to use Auto Layout for a custom Table View Cell in my app.</p>
  
  <p>I can't seem to get the constraints quite right.</p>
  
  <p>I layed the labels out in the custom Table View Cell, but the labels are still getting cut off. Any ideas?</p>
  
  <p>Thanks! Will post anything else needed. Tried to show needed info in picture below:</p>
  
  <p>Debugging in Xcode.  Somehow what shows in Simulator looks different than in Xcode debug.</p>
  
  <p>Here's the width of my TableView shown:
  <img src="https://i.stack.imgur.com/a5eIg.png" alt="enter image description here"></p>
  
  <p><strong>UPDATE:</strong>
  The problem here was related to what user matt said in the accepted answer, but I wanted to make the Q&amp;A a bit clearer now that I have it figured out for anyone else that comes across this.</p>
  
  <p>In his initial comment, he mentioned the Xcode View debugging, which was great and I was able to dig into a little bit more.  Its called the Assistant Editor: Device Preview, where you are able to see the layout and layers of what is onscreen to see if maybe you have labels overlapping or going offscreen based on the device it is running on. If you want to check multiple device sized, just hit the plus icon in the lower left hand corner of this picture.
  <img src="https://i.stack.imgur.com/fTZ16.png" alt="enter image description here"></p>
  
  <p>This helped me find overlapping layers and sizing issues with the TableView.  I was able to see how it looked on each device size.</p>
  
  <p>What also helps here sometimes to use the Pin menu. Sometimes the labels can run off screen because it doesn't know where the constraints of the cell are based on the device size. So your label can run offscreen if the label is based off of a landscape layout but the device is an iPhone 5 and is in Portrait for example. This is the Pin menu:</p>
  
  <p><img src="https://i.stack.imgur.com/1laqK.png" alt="enter image description here"></p>
  
  <p>Hope that makes sense and gives some more color to the problem.  Let me know if you have any questions at all, thanks for the help everyone!</p>