View Full Version : Am I making this too hard? How do I do a pop up that accepts a password?
Kansas
Feb 12, 2009, 01:22 PM
I have a view displayed and if a user pushes a certian button I want to pop up a box that accepts a password and then I can decide in the button code if the password was correct.
Is there a UIActionSheet type call that accepts numbers?
Pring
Feb 13, 2009, 08:49 AM
Use a UIAlertView which has a UITextField in it.
http://stackoverflow.com/questions/376104/uitextfield-in-uialertview-on-iphone-how-to-make-it-responsive should do it
Kansas
Feb 13, 2009, 11:34 PM
Use a UIAlertView which has a UITextField in it.
http://stackoverflow.com/questions/376104/uitextfield-in-uialertview-on-iphone-how-to-make-it-responsive should do it
Thanks!!
Kansas
Feb 14, 2009, 09:57 AM
I have a view displayed and if a user pushes a certian button I want to pop up a box that accepts a password and then I can decide in the button code if the password was correct.
Is there a UIActionSheet type call that accepts numbers?
I ended up using this to pop up the view and get the password....
PassView *aViewController = [[PassView alloc] initWithNibName:@"PassView" bundle:[NSBundle mainBundle]];
[self presentModalViewController:aViewController animated:YES];
[aViewController release];
vBulletin® v3.8.6, Copyright ©2000-2012, Jelsoft Enterprises Ltd.