Hey guys, i got a simple(i think) question here, well, i'm a begginer at iphone development and i'm trying to make and alertView with a variable in it
i got a variable called result it's a NSString type and i want to put it on the message of the alertview, so i'm doing this:
Code:
UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"You got" message:@"%@" delegate:self cancelButtonTitle:@"OK" otherButtonTitles:nil];
then i tried to put something like ",result" in a lot of places, but i got a message of "%@", i've searched for it but found nothing
if someone could help me, i'd be thankful