Controller crash with the following error?
Terminating app due to uncaught exception ‘NSInvalidUnarchiveOperationException’, reason: NSLayoutConstraint
One quick solution::
- Open the .xib file of that controller.
- click on the view and go to file inspector in the right pane.
- deselect auto layout.
- build and run the application.
Works like a charm. 🙂