I am very new at developing for the iPhone. I was trying to make a basic application, but a SIGABRT Error appears. When I press a button in the simulator the game crashes and a SIGABRT Error appears. It is NSInvalidArgumentException.
Here is some code for the button:
.h file:
-(IBAction)abc;
-(IBAction)abc {
b *aaa = [[b alloc] initWithNibName:@"b" bundle:nil];
[self presentModalViewController:aaa animated:NO];
[aaa release];
}
Thank you very much!
The bast way to find SIGBART in your application is by using debugging tool where you can find exact location of application getting this signal.
Your code looks fine, maybe there will be some error in your b class file
Hope it helps….