UIAlertView

UIAlertView

UIAlertView *alert = [[UIAlertView  alloc]initWithTitle:@"出错了"message:@"网络连接失败,请稍后重试"delegate:nil cancelButtonTitle:@"好的" otherButtonTitles:nil];
[alert show];
[alert release];
原文地址:https://www.cnblogs.com/hl666/p/3777454.html