Tuesday, 10 September 2013

Alertview with integer

Alertview with integer

Hello to everyone i would like to place my thinking about an alertview. I
am thinking to create an Uialertview which will prompt the user to input
two integers. Then i would like to retrieve these two integers and put the
one on a timer and the second in an sql statement. So if anyone can help
on how to implement that i would apreciate it. Thank you all.
Here is my code until now
UIAlertView * alertView = [[UIAlertView alloc] initWithTitle:@"info"
message:@"Set time For The Game." delegate:nil cancelButtonTitle:@"OK"
otherButtonTitles:@"cancel", nil];
alertView.alertViewStyle=UIAlertViewStylePlainTextInput;
NSLog(@"Entered: %@", [[alertView textFieldAtIndex:0] text]);
[alertView show];

No comments:

Post a Comment