ios – NSInternalInconsistencyException IPhone

If you are facing NSInternalInconsistencyException in IOS development.

Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 
'-[UIViewController _loadViewFromNibNamed:bundle:] loaded the "..." 
nib but the view outlet was not set.

Follow the solution for


  1. Open your xib file or storyBoard
  2. Click on File’s Owner


  1. Click on Identity Inspector and check that Class property , there should be name of your controller class


Leave a comment

Your email address will not be published.