Show a simple UIAlertView

来源:互联网 发布:程序员键盘 知乎 编辑:程序博客网 时间:2024/06/15 07:42

UIAlertView *myalert = [[UIAlertView alloc] initWithTitle:nil message:@"An Alert!" delegate:self cancelButtonTitle:@"OK" otherButtonTitles:nil];

[myalert show];

[myalert release];