Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

离线展示问题 #34

Open
1159148169 opened this issue Jun 11, 2017 · 3 comments
Open

离线展示问题 #34

1159148169 opened this issue Jun 11, 2017 · 3 comments

Comments

@1159148169
Copy link

离线展示轮播图时其中一个轮播图的Title会固定在下方,其它Title会覆盖上去,而且有时离线展示的时候会不显示轮播图,就是一片空白。

@codingZero
Copy link
Owner

离线展示?本来就没有这个功能啊,缓存是为了下次加载,不是离线展示,缓存是通过图片url获取的,离线状态获取不到图片的url当然就没法展示了,SDWebimage的缓存也是这个原理

@1159148169
Copy link
Author

不是的,我之前的表述可能不清楚,就是说我为了实现离线展示的功能,自己将图片url和图片描述做了缓存,在没有网络的时候使用缓存中的图片url和图片描述,就会出现下图所示的问题,而且有时进入轮播图会出现空白:
img_2154

@codingZero
Copy link
Owner

我测试了一下,没有出现你说的这种情况,而且我的控件里只有一个label,不可能会出现title覆盖的情况,你可以看一下视图的层级,看多余的title是不是轮播图里面的,如果方便的话,可以把这部分代码新建一个工程发我邮箱[email protected]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants