InterviewSolution
Saved Bookmarks
| 1. |
What Is The Main Difference Between Frame And Bounds? |
|
Answer» 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). 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). |
|