UIView and its subclasses all have the properties frame and bounds. What\'s the difference?
Bounds - x:0, y:0, width: 20, height: 40 is a static
Frame - x:60, y:20, width: 45, height: 45 is a dynamic based on inner bounds.
One more illustration to show a difference between frame and bounds. At this example:
View B is a subview of View AView B was moved to x:60, y: 20View B was rotated 45 degrees