PDA

View Full Version : what's the difference between bound and frame?




fenrus110
Oct 31, 2008, 12:34 PM
view.bound and view.frame, what's the difference?

I was playing around with these two as I was trying to hack out the problems with hiding the UINavigationController bar.

I usually only play with the frame, but I'm noticing that setting the bound also seems to accomplish the same thing.



detz
Oct 31, 2008, 12:38 PM
Frame: Returns the receiverís frame rectangle, which defines its position in its superview.

Bounds: Returns the receiverís bounds rectangle, which expresses its location and size in its own coordinate system.