waynezxcv / Gallop

A framework for build smooth asynchronous iOS APP.
MIT License
746 stars 161 forks source link

当 present 出 UIAlertController时, 界面上显示的图片全部不显示了 #65

Open MrZhaoying opened 6 years ago

MrZhaoying commented 6 years ago

当 present 出 UIAlertController时, 界面上已经加载出来的图片全部不显示了, 直到UIAlertController消失 图片也不会再被加载出来

lujiayi1228 commented 6 years ago

@MrZhaoying 我也遇到了~你修复了么~目前遇到的情况是: 1.将重写的setimage方法注销,让图片直接通过LWAsyncImageView的image加载。但是这样,如果使用大量gif图,会导致很卡 2.当我present出alertVC或activityVC成功以及响应点击item的回调中,再次刷新图片(reloadtableview无效,我只能手写添加刷新cell上的图片),但是又因为头像和内容图片采用的是相同的复用机制,导致再次刷新后内容图片发生变更,与刷新前不一致。。。。。好蛋疼☹️ 3.目前的不完美解决方案: 需要跳转UIAlertController或activityVC的时候,先创建透明Window和透明VC加载,并使用新的透明VC跳转,返回时删除透明控件;

zhangqingy commented 6 years ago

我擦同样的问题啊

BauZiCung commented 6 years ago

高版本使用UIAlertController会出现这个bug,使用AlertView或者ActionSheet可以避免这bug。

MrZhaoying commented 6 years ago

我是通过自定义AlertView解决掉这个问题的