UIAlertView
UIAlertView *alert = [[UIAlertView alloc]initWithTitle:@"出错了"message:@"网络连接失败,请稍后重试"delegate:nil cancelButtonTitle:@"好的" otherButtonTitles:nil]; [alert show]; [alert release];