title: code and IB frame doesnt match
body: <p>Same question as <a href="https://stackoverflow.com/questions/3100878/ipad-frame-programmatically-doesnt-match-with-ib">https://stackoverflow.com/questions/3100878/ipad-frame-programmatically-doesnt-match-with-ib</a> but no-one answered!</p>
  
  <p>I created a UITableCell layout in IB, copied done the measurements of the UILabel frame and used them to programmatically resize the frame.</p>
  
  <p>But the Y coordinate is out by about 13 pixels - WHY?</p>
  
  <p>Frame in IB x:176 y:16 </p>
  
  <p>Frame in code to match X:176.0f, y:3.0f</p>