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

ipad detailviewcontroller

Discussion in 'iPhone/iPad Programming' started by hibiscus, Apr 28, 2012.

  1. macrumors newbie

    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. macrumors 65816


    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. macrumors newbie

    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