UIAlertView的使用

UIAlertView是用于弹出一个对话框进行选择或者消息提示

构造函数:

    UIAlertView * alert = [[UIAlertViewalloc] initWithTitle:@"提示~"message:@"保存成功" delegate:selfcancelButtonTitle:@"Ok"otherButtonTitles:nil, nil];

常用方法:

    //显示Alert

    [alert show];

现在我使用的AlertView主要就是弹出一个消息框来进行消的提示,当然AlertView还有很多其它的功能,等到我哪天用到了我就会来更新。

posted @ 2013-10-30 09:17  wisejoker  阅读(76)  评论(0编辑  收藏  举报