I want a quick input from a user. I know I can put a UITextField in UIAlertView but it’s sort of a “hack”. Is there an official/alternative way to do this?
It’s pretty surprising that there’s no control for such a typical scenario.
Thanks
UPDATE:
Tried EGOTextFieldAlertView but here’s the result:

and code:
EGOTextFieldAlertView *alert = [[EGOTextFieldAlertView alloc] initWithTitle:@"Enter the group name"
message:nil
delegate:self
cancelButtonTitle:@"Cancel"
otherButtonTitles:@"OK", nil];
[alert addTextFieldWithLabel:@"Name"];
[alert show];
[alert release];
If you’re willing to require iOS 5 then it’s no longer a hack. UIAlertView now has a
alertViewStyleproperty which, when set toUIAlertViewStylePlainTextInput, adds a single text field to the alert that you can retrieve with-[UIAlertView textFieldAtIndex:].If you still require 4.3 or earlier, then no, there’s no official way to do this and it really is a big “hack” that’s on par with calling SPI.