Created
June 17, 2011 07:27
-
-
Save palaniraja/1031012 to your computer and use it in GitHub Desktop.
TestViewController to test TKAlertCenter issue with UIAlertView
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
-(IBAction) testTapped:(id)sender{ | |
[[TKAlertCenter defaultCenter] postAlertWithMessage:NSLocalizedString(@"Before an alert", nil)]; | |
UIAlertView *av = [[UIAlertView alloc] initWithTitle:@"TEST" message:@"TEST MSG" | |
delegate:self cancelButtonTitle:@"cancel" otherButtonTitles:nil]; | |
[av show]; | |
[av release]; | |
} | |
- (void)alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex{ | |
[[TKAlertCenter defaultCenter] postAlertWithMessage:NSLocalizedString(@"After the alert", nil)]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment