1. Welcome to the new MacRumors forums. See our announcement and read our FAQ

NSView NSWindow resizing

Discussion in 'Mac Programming' started by oneHande, Oct 9, 2009.

  1. macrumors newbie


    i have a very simple application : just showing an empty window.

    1- i add an IKImageView, when i change the size of window , it resizes itself.

    2- then, i erase my IKImageView.
    i add a custom view and i put IKImageView inside it.
    when i change the size of the window, it no more changes its size.

    all Auto sizing boxes are checked inside the nib.

    what i have to do more in the second case please?

    thank you
  2. macrumors newbie

    in " size section " of IB
    each time one adding a view ( of any kind )
    immediately better choose its resizing action to window

    in " Autosizing " : just highlighten both axes INSIDE the rectangle which is the window



Share This Page