I am trying to use UINavigationController
. I have two views which are being created programmatically. When a UIButton
is pressed on the first view, the second view should come to foreground.
But here application crash with exception:
loaded nib but the view outlet was not set
What can be cause of this and how to resolve it.