what's the difference between bound and frame?

Discussion in 'iOS Programming' started by fenrus110, Oct 31, 2008.

  1. fenrus110 macrumors regular

    Mar 24, 2008
    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.
  2. detz macrumors 65816

    Jun 29, 2007
    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.

Share This Page