13

What's the difference of the two? I haven't found any difference in my projects when using either one, but it's bothering me that I don't know what either is for.

Please advise!

enter image description here enter image description here

1

1 Answer 1

11

The layout rectangle is the apparent visual size of the control. It is different from the actual frame, since there might be drop shadows or inset effects that are outside of the visually distinct portion of the control.

What's the difference between frame and layout in Interface builder's size inspector?

1
  • 1
    ...Just for clarification, layout is just the item, and frame is everything including shadow? Commented Jun 5, 2012 at 20:30

Not the answer you're looking for? Browse other questions tagged or ask your own question.