views:

34

answers:

2

They are both CGRects and my program behaves the same when I switch one for the other.

A: 

Possible duplicates : UIView frame bounds center origin

vodkhang
A: 

See UIView for documentation.

The frame property specifies the origin and size of a view in superview coordinates. The origin of the coordinate system for all views is in the upper-left corner.

The bounds property specifies the origin in the view’s coordinates and its size (the view’s content may be larger than the bounds size).

willcodejavaforfood