Frame vs Bounds in iOS

This article is a repost of an answer I wrote on Stack Overflow.

Short description

  • frame = a view’s location and size using the parent view’s coordinate system (important for placing the view in the parent)

Details

To help me remember frame, I think of a picture frame on a wall. The picture frame is like the border of a view. I can hang…