Difference between bounds and frame

What is the basic difference between bounds and frame?

E

Expert

Verified

The frame of a view is the rectangle, stated as a location (x,y) and size (width, height) associative to the superview it is contained in. The bounds of a view is the rectangle, stated as a place (x,y) and size (width, height) associative to its own coordinate system (0,0).  

   Related Questions in Science

©TutorsGlobe All rights reserved 2022-2023.