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

Popular posts from this blog

qt - switch/case statement in C++ with a QString type -

python - sqlite3.OperationalError: near "REFERENCES": syntax error - foreign key creating -

Python's equivalent for Ruby's define_method? -