Hi
I'm using the UIAlertView to ask the user whether he wants to start a new game. This is my code:
	
	
	
		
This shows the question to the user.
But how can I execute some code when the user pressed yes or no?
Thanks
Rutger
	
		
			
		
		
	
				
			I'm using the UIAlertView to ask the user whether he wants to start a new game. This is my code:
		Code:
	
	UIAlertView *replay = [[UIAlertView alloc] initWithTitle:@"Higher Lower" message:@"Play again?" 
                                         delegate:self cancelButtonTitle:@"No" otherButtonTitles:@"yes",nil];
            
[replay show];
[replay release];This shows the question to the user.
But how can I execute some code when the user pressed yes or no?
Thanks
Rutger
 
 
		