iOS UIAlertView屏幕闪烁问题 2025-06-17 技术 关于这个问题,我查找过了很多资料 最终的解决办法是:将UIAlertView在主线程上展现出来 实现过程如下: 123456789+(void) showNetworkMessage{ UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"网络连接异常" message:@"暂无法访问寻艺" delegate:self cancelButtonTitle:@"确定" otherButtonTitles:nil]; [alert performSelectorOnMainThread:@selector(show) withObject:nil waitUntilDone:YES];} 然后在后面直接调用就可以了 最后更新时间:2025-06-17 14:53:02 永久链接:https://blog.gowhich.com/2025/06/17/iOS-UIAlertView%E5%B1%8F%E5%B9%95%E9%97%AA%E7%83%81%E9%97%AE%E9%A2%98.html 赏 Prev iOS根据地址获取坐标的方法 Next 5款傻瓜式APP开发工具