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

tabbar问题 #42

Open
cnzlh opened this issue Sep 9, 2020 · 9 comments
Open

tabbar问题 #42

cnzlh opened this issue Sep 9, 2020 · 9 comments

Comments

@cnzlh
Copy link

cnzlh commented Sep 9, 2020

带tabBar的Controller,你是用的截图push ,但是我的控制器是播放器,截图就会出现图像静止,声音仍然在放的问题。有没有不用截图的解决办法啊

@QuintGao
Copy link
Owner

QuintGao commented Sep 9, 2020

你push的时候不停止播放器吗

@cnzlh
Copy link
Author

cnzlh commented Sep 9, 2020

不停止,页面push完成之后才停止

@QuintGao
Copy link
Owner

QuintGao commented Sep 9, 2020

带tabbar的控制器,左滑push的时候会出现tabbar和控制器的view不同步的情况,目前只能这样处理

@cnzlh
Copy link
Author

cnzlh commented Sep 9, 2020

恩,我看了抖音应该不是截图的,但是自己实现好像不太容易,处理不好tabBar还会跳,tabbaritem里面的文字还会上下移动

@QuintGao
Copy link
Owner

QuintGao commented Sep 9, 2020

截取tabbar,可以这样试下,只截图tabbar部分

@cnzlh
Copy link
Author

cnzlh commented Sep 9, 2020

好的,感谢

@cnzlh
Copy link
Author

cnzlh commented Sep 9, 2020

有用,但是我觉得可能还有更好的办法。非常感谢啊,这个问题困扰了很久。

@cnzlh
Copy link
Author

cnzlh commented Sep 23, 2020

有个终级解决办法,我同事后来帮我改的,动画的时候加个线性属性,就能和tabbar同步了。
image

@QuintGao
Copy link
Owner

嗯 我试试

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