Note that there are some explanatory texts on larger screens.

plurals
  1. POCannot load new View with navigation Controller
    primarykey
    data
    text
    <p>I am new to IOS development, I'm trying to load a new view programatically. I have a root view. When the application start, the root view loads correctly. From the root view, When I press a button, I want to load a new view. </p> <p>The custom class for the new view is : <code>PlaceDetailsController</code></p> <p>My code is: </p> <pre><code> PlaceDetailsController *x = [[PlaceDetailsController alloc] initWithNibName:@"PlaceDetailsController" bundle:nil]; [self.navigationController pushViewController:x animated:YES]; </code></pre> <p>I am getting the following errors:</p> <pre><code>2013-11-15 17:29:06.164 Info.mu.final[1806:c07] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Could not load NIB in bundle: 'NSBundle &lt;/Users/noor/Library/Application Support/iPhone Simulator/6.1/Applications/7FD5D7FC-38DE-448F-84F1-17879202DBA7/Info.mu.final.app&gt; (loaded)' with name 'PlaceDetailsController'' *** First throw call stack: (0x211b012 0x19cce7e 0x211adeb 0x1134ef9 0xff97e7 0xff9dc8 0xff9ff8 0xffa232 0xffa4da 0x10118e5 0x10119cb 0x1011c76 0x1011d71 0x101289b 0x1012e93 0x1012a88 0x2a05 0xaa3ca 0xa7c22 0x11e385a 0x11e299b 0x11e40df 0x11e6d2d 0x11e6cac 0x11dea28 0xf4b972 0xf4be53 0xf29d4a 0xf1b698 0x283bdf9 0x283bad0 0x2090bf5 0x2090962 0x20c1bb6 0x20c0f44 0x20c0e1b 0x283a7e3 0x283a668 0xf18ffc 0x226d 0x2195) libc++abi.dylib: terminate called throwing an exception (lldb) </code></pre> <p>The selected View is the View I want to load: <img src="https://i.stack.imgur.com/txp5i.png" alt="enter image description here"></p> <p>Any suggestion??</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload