iPhone SDK simple alert message question

Posted by Paul on Stack Overflow See other posts from Stack Overflow or by Paul
Published on 2010-04-13T13:13:26Z Indexed on 2010/04/13 13:23 UTC
Read the original article Hit count: 406

Filed under:
|
|
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? :)

© Stack Overflow or respective owner

Related posts about iphone

Related posts about SDK