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

NSInternalInconsistencyException

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

i-phone-files-owner

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

ios-identity-inspector

Leave a comment

Your email address will not be published.