I want to create a alert from a alert. but it crashes. I use under code to create a alert:
{
UIAlertView *alert = [[UIAlertView alloc]initWithTitle:nil message:inMessage delegate:self cancelButtonTitle:nil otherButtonTitles:@"OK", nil];
[alert show];
}
error message is :
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSError isEqualToString:]: unrecognized selector sent to instance 0x88b84c0'
it looks like inMessage has been release. so I change inMessage to @"test test". It works but get out wait_fences: failed to receive reply:10004003
How can i do for creating a alert in a alert ?