ipad detailviewcontroller

Discussion in 'iOS Programming' started by hibiscus, Apr 28, 2012.

  1. hibiscus macrumors newbie

    Apr 28, 2012
    I am trying to display a detail view with presentModalViewController. I am getting an error message saying that the xib file can't be found on the iPad. How do I get Xcode to place the xib file on the iPad so my app can find it.
  2. jnoxx macrumors 65816


    Dec 29, 2010
    Aartselaar // Antwerp // Belgium
    What do you mean, "it can't be found", didn't you add it to your target?
    Go to build phases of your target, and add it..
    A good tip, if you drag shiz in your project, tick the copy to folder if necessary.. So it won't reference to items that may not be there..
  3. hibiscus thread starter macrumors newbie

    Apr 28, 2012
    The error message is
    'Could not load NIB in bundle: 'NSBundle </var/mobile/Applications/58F7CA57-CF66-4C44-ACFE-26CF54C1695D/Intrigue File Manager.app>

    The xib file was listed in an area separate from where the storyboard and other view controller files are. So I moved it in with them. Same error.

Share This Page