what's the difference between bound and frame?

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

  1. macrumors regular

    Joined:
    Mar 24, 2008
    #1
    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. macrumors 65816

    Joined:
    Jun 29, 2007
    #2
    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