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

能否在JXSegmentedView.dataSource中加一个基本参数,设置cell的背景色 #236

Closed
bilibili11 opened this issue Nov 1, 2023 · 1 comment

Comments

@bilibili11
Copy link

自定义cell设置添加一个背景图层,会覆盖滑块. 而且在自定义中,会因为某种原因导致list左右滑动失效

@pujiaxin33
Copy link
Owner

你在自定义cell中添加的背景图层,需要调用contentView.sendSubviewToBack(UIView),把视图层级移动到最后。
关于"而且在自定义中,会因为某种原因导致list左右滑动失效",请参考示例代码。

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