iPhone SDK simple alert message question
- by Paul
char asd='a';
UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Are you sure?" message:asd
delegate:self cancelButtonTitle:@"Cancel" otherButtonTitles:@"OK", nil];
[alert show];
[alert release];
above code not compiling in iPhone simulator.
Why is that?
:)