Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

fenrus110

macrumors regular
Original poster
Mar 24, 2008
142
0
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.
 
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.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.