Trying to include a instance variable in a message that a UIAlertView Shows.
lostAle开发者_如何转开发rt = [[UIAlertView alloc] initWithTitle:@"Sorry" message:(@"You Were Wrong, the correct structure was %@", structureName)  delegate:self cancelButtonTitle:@"Dismiss" otherButtonTitles:nil];
however, when the Alert is shown, no message is shown.
Any ideas and help would be appreciated :)
Sam
did you try it with:
[NSString stringWithFormat:@"You Were Wrong, the correct structure was %@", structureName]
instead of
(@"You Were Wrong, the correct structure was %@", structureName)
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论