I use a UIAlertView
to show an alert in iPhone6. where delegate is called nil. When I pressed the ok button of alert then it's automatically crashed and there is no error message. It only shows EXC_BAD_ACCESS(code=EXC_I386_GPFLT)
.
Given bellow the code:
UIAlertView *alert=[[UIAlertView alloc]initWithTitle:@"" message:@"This First ALert" delegate:nil cancelButtonTitle:@"Ok" otherButtonTitles:nil, nil];
[alert show];