iphone - Error while calling another view -


I am calling the main menu view:
  main menu * obj = [[ Menu view controller alloc] in this]; [Self current model view controller: obj animated: no];   

but it shows the following error.

* End the application due to the exception of 'NSInternalInconsistencyException', Reason: '- [UIViewController _loadViewFromNib Named : Bundle:] "menu view controller" was loaded but view outlet was not set. '

text ">

You have to open your nib in the interface builder And your view will be seen in the file's owner .

Comments