The delegate is true, but perhaps because you are doing the release at the end, this can cause problems.
Try with delegate nil :-)
For instance:
UIAlertView *alertView; alertView = [ [ UIAlertView alloc ] init ]; [ alertView setMessage:@"Hello World" ]; [ alertView show ]; [ alertView release ];
If this works, then that was the delegate, and you need to declare the variable as a class var. Or it could be somewhere else.
source share