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

调整网络不好时的占位图显示模式,和用户设置的模式一致。 #432

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ClassWizard
Copy link

如果不允许切换模式,会出现占位图边缘留有黑边的情况。

如果不允许切换模式,会出现占位图边缘留有黑边的情况。
@ClassWizard ClassWizard reopened this Nov 22, 2017
@ClassWizard
Copy link
Author

占位图默认使用UIViewContentModeScaleAspectFit模式,但不能很好的适应各种尺寸的屏幕。造成周围有黑边。
既然暴露了调节轮播图显示模式的接口,就一并把占位图的显示模式修改了。

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

Successfully merging this pull request may close these issues.

1 participant