View Full Version : How to create a dialog after click button?

Jul 30, 2008, 03:21 AM
Hi all

I'm newbie. And I've wonder how to create a view which I can add labels, text fields,... I use UIAlertView class to do it but it is only available for buttons.

Here is my code

UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"UIAlertView" message:@"<Alert message>"
delegate:self cancelButtonTitle:@"OK" otherButtonTitles:@"Cancel", nil];

[alert show];

how can do to add labels, textfield on Alert view?

Nam Phan