loaded nib but no view was set error

Discussion in 'iOS Programming' started by leed76, Aug 4, 2008.

  1. macrumors newbie

    Jul 30, 2008
    Hi All:

    I keep getting an "loaded nib <insert your nib here> but no view was set" error. I checked in IB and my File's Owner is set to MyViewController and it's view outlet is set to View. I also threw in some log lines and found out it's coming from the [self.navigationController pushViewController:animated:].

    Anyone have any suggestion to fix/debug this? Anyone ...
  2. Moderator emeritus


    Jun 15, 2000
    I'd double check your nib connections again. IB has a Connections Inspector that can confirm what is hooked up. Also make sure the nib name in code matches the nib file.

Share This Page