How to make dialog box in iphone
I need to open the dialog box 开发者_如何学编程when the user clicks on a button . How can I do this programmatically in iphone.
That's a UIAlertView. You should download the UICatlog example from Apple, it has examples all of the UI objects in action, plus their names.
There isn't really an equivalent of your standard desktop UI dialog box - you should probably be subclassing UIView and displaying it modally. See presentModalViewController:animated:
精彩评论