Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ERROR:(null) is not a valid containment controller key path?

I'm trying to present a navigation controller as a modal and I'm getting this warning:

ERROR:(null) is not a valid containment controller key path

Does anyone know what am I doing wrong? I just connected a segue from a button in another navigation controller to the designated navigation controller and it won't work and I get this warning.

like image 746
user1059449 Avatar asked Nov 22 '11 09:11

user1059449


2 Answers

This looks a bug in XCode note the sample "Utility App" displays this warning as well, but functions as expected.

like image 140
railwayparade Avatar answered Nov 03 '22 08:11

railwayparade


Looks like you're passing a value which is actually holding nothing at all, to your navigation controller. I'd use NSLog to check the contents of the value being passed to the controller, and find out why it's null.

like image 1
Simon Avatar answered Nov 03 '22 08:11

Simon