loaded nib but no view was set error

Discussion in 'iPhone/iPad Programming' started by leed76, Aug 4, 2008.

  1. macrumors newbie

    Joined:
    Jul 30, 2008
    #1
    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

    kainjow

    Joined:
    Jun 15, 2000
    #2
    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