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