Answers

Question and Answer:

  Home  iOS

⟩ Can you please explain the difference between frame and bounds?

The frame of a view is the rectangle, expressed as a location (x,y) and size (width,height) relative to the super-view it is contained within. The bounds of a view is the rectangle, expressed as a location (x,y) and size (width,height) relative to its own coordinate system (0,0).

 117 views

More Questions for you: