title: Nib Load Failed
body: <p>In my application, I made custom tab bar having 5 tabs, each tab shows different <code>UIViewController</code>. </p>
  
  <p>Application is for iPhone only, so i made 2 NIBs for each <code>UIViewController</code> (if class name is DayView, NIBs are DayView_iPhone and DayView_iPhone5). Everything is working fine for up to 10 mins in the device as well as in simulator.</p>
  
  <p>After that app is crashing showing this in console :</p>
  
  <pre><code>Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Could not load NIB in bundle: 'NSBundle &lt;/Users/kalyanasadinagarajugari/Library/Application Support/iPhone Simulator/6.1/Applications/0DEBB118-BA67-440F-BA70-79ED41AC9134/CalendarBlender.app&gt; (loaded)' with name 'DayView_iPhone''
  </code></pre>
  
  <p>I checked the NIB names also, every NIB file name is correct. </p>
  
  <p>And my code is </p>
  
  <pre><code>NSString *nibName = [AppDelegate fetchNibWithViewControllerName:@"DayView"]; 
  dayView = [[DayView alloc] initWithNibName:nibName bundle:nil];
  
  if (IS_IPHONE_5) 
      dayView.view.frame = CGRectMake(0, 44, 320, 463); 
  else
      dayView.view.frame = CGRectMake(0, 44, 320, 375); dayView.view.tag=2; [self.view      
  addSubview:dayView.view];
  </code></pre>