开发者

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:

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜