- (Id) initWithNibName: (NSString *) nibNameOrNil bundle: (NSBundle *) nibBundleOrNil
{
self = [super initWithNibName: nibNameOrNil bundle: nibBundleOrNil];
if (self) {
/ / Custom initialization
}
return self;
}
Perform self = [super initWithNibName: nibNameOrNil bundle: nibBundleOrNil] after the main prompt program received signal: "sigabrt"
int main (int argc, char * argv [])
{
@ Autoreleasepool {
return UIApplicationMain (argc, argv, nil, NSStringFromClass ([ppcAppDelegate class]));
}
}
May I ask what might be the reason?
xcode 4.2
ios 5.1
Reply:
This approach looked familiar, but my memory, when calling bundle behind the argument given is nil, and not with the incoming one, you try it
Reply:
Code your hair is no problem, the problem is not here, certainly other causes
Reply:
I think of it, here is the controller in view controller initialization method attempts, this method is not generated during normal use xcode templates, lz are you own a building, we have made this method, since the landlord did so , it should go check with connecting xib those files is not a problem, it should be that the file is not connected right, these lines right, because it is xcode generated, lz next time and then paste the contents of the whole point of hair problems, otherwise I really do not This method is easy to think of what appeared
No comments:
Post a Comment