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

希望能加上暂停状态的默认样式 #4

Open
lilingyu0620 opened this issue Sep 11, 2017 · 4 comments
Open

希望能加上暂停状态的默认样式 #4

lilingyu0620 opened this issue Sep 11, 2017 · 4 comments

Comments

@lilingyu0620
Copy link

希望能加上暂停状态的默认样式,现在初始化时如果是暂停状态的话没有默认样式。

@mengxianliang
Copy link
Owner

按钮初始化的时候有一个state参数,传入iQiYiPlayButtonStatePause按钮会显示暂停状态,传入iQiYiPlayButtonStatePlay按钮会显示播放状态

@lilingyu0620
Copy link
Author

哈哈 发现了 原来我理解的play和pause状态你跟定义的反了 谢谢

@lilingyu0620
Copy link
Author

不过 现在初始化为Play状态时默认就有动画效果 这个能优化一下吗?

@LaudyLaw
Copy link

我用Swift重写了XLPlayButton,有兴趣的童鞋欢迎关注——
LSPlayPauseButton

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

3 participants