I can’t figure out why this won’t work, I’ve tried it 100 ways. The AlertView shows up with a blank message. Here’s my code:
eventChoiceNow = [[UIAlertView alloc] initWithTitle:@"Hurry Up!" message:timeTillRest delegate:self cancelButtonTitle:@"OK" otherButtonTitles:nil];
timeTillRest is an NSString. and just before calling the alertview an NSLog(@"%@",timeTillRest); displays the string without trouble.
Why would you use an alertview as an instance variable? There’s no need for that. It’s just as easy as this: