Created
April 25, 2011 18:37
-
-
Save gmcerveny/940973 to your computer and use it in GitHub Desktop.
UIAlertViewDelegate isKeyWindow
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (void)willPresentAlertView:(UIAlertView *)alertView | |
{ | |
return; //[[[self view] window] isKeyWindow] YES | |
} | |
- (void)didPresentAlertView:(UIAlertView *)alertView | |
{ | |
return; //[[[self view] window] isKeyWindow] NO | |
} | |
- (void)alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex | |
{ | |
return; //[[[self view] window] isKeyWindow] YES | |
} | |
- (void)alertView:(UIAlertView *)alertView willDismissWithButtonIndex:(NSInteger)buttonIndex | |
{ | |
return; //[[[self view] window] isKeyWindow] YES | |
} | |
- (void)alertView:(UIAlertView *)alertView didDismissWithButtonIndex:(NSInteger)buttonIndex | |
{ | |
return; //[[[self view] window] isKeyWindow] YES | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment