SnowboardBruin
SnowboardBruin

Reputation: 3685

"Frame Rectangle" vs. "Layout Rectangle" in Xcode

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

Upvotes: 13

Views: 7497

Answers (1)

geon
geon

Reputation: 8479

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?

Upvotes: 11

Related Questions