I am currently setting up a little security feature on this app I'm making,
whats happening as soon as my app is launched it sends its cookie to the database in return for a new cookie. If the user starts the app for the first time, or has a cookie that is out of sync because of various reasons (for instance they have given heir registration code to someone else to use) they will be given an Alert View error msg...
I am wondering how I would go about sending the user to a new view (that will allow them to enter their registration code) with the
button when it is pressed on the alert view
whats happening as soon as my app is launched it sends its cookie to the database in return for a new cookie. If the user starts the app for the first time, or has a cookie that is out of sync because of various reasons (for instance they have given heir registration code to someone else to use) they will be given an Alert View error msg...
Code:
UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Please Register Device"
message:@"click OK to register"
delegate:nil
cancelButtonTitle:@"OK"
otherButtonTitles:nil];
[alert autorelease];
[alert show];
I am wondering how I would go about sending the user to a new view (that will allow them to enter their registration code) with the
Code:
cancelButtonTitle
Last edited: