I started out with the Master-Detail application in XCode 4.2.
It is my first app using storyboard so I knew I would miss something on the way.
Ok, so I started out my app coding my master controller and my detail controller.
It works nice on the iPhone simulator but I cannot get it to work on the iPad simulator and I dont know why. Cuz the only thing that appears to me on the log is (gdb) and it shows me the following line on AppDelegate.h:
return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
I know I missed the part of testing on the iPad simulator from the beginning, but is there a way to know what is going on precisely?
I started out removing some code to see what was going on. I realized that since the iPad storyBoard also loads the detail view, it was “crashing” because I didn’t have the detail data loaded. But no erros would appear…
So I just added a code to verify if the detail view had any details ready to show.
After that I started working around. And this code does not interfere on the iPhone since the detailDict would be properly passed when the table cell is tapped.