Let me try to explain this. Please tell me if I am wrong. I am only 70% sure of this.
As I understand it, UIView has a border and a rectangle of borders. The task of the frame rectangle is to set the position of the UIView relative to its supervisor. More precisely: relative to the coordinate system of supervision. The task of the border rectangle is to set the drawing area of ββthe UIView relative to its own coordinate system.
Short:
- the frame rectangle is designed to place the UIView relative to its supervisor
- bounds rectangle should set the drawing area of ββthe UIView
Are there any errors or important things that I missed?
iphone uikit uiview
Thanks Apr 20 '09 at 9:45 2009-04-20 09:45
source share