ios 堵塞提示框 已经deprecated 在ios 9.0

来源:互联网 发布:自己朗读软件 编辑:程序博客网 时间:2024/04/30 04:31
    NSString *errorStr = @"请重新登录";    UIAlertView *alertView = [[UIAlertView alloc] initWithTitle:@"操作信息"                                                        message:errorStr                                                       delegate:nil                                              cancelButtonTitle:@"OK"                                              otherButtonTitles: nil];    [alertView show];