我使用XLPagerTabStrip在iosgetting black space like this 中获取android tabtool,但是使用它,当我滚动端点视图控制器时,视图和屏幕之间出现黑色空间,这是为什么?如何解决这个问题?
发布于 2018-06-13 15:13:36
class MyPagerTabStripName: ButtonBarPagerTabStripViewController {
super.viewDidLoad()
...
self.containerView.bounces = false // add this line to disable bounce
}或者,如果你想保持反弹效果,你可以设置视图的backgroundColor,就像在你的图像中一样,你可以把backgroundColor改成白色。
https://stackoverflow.com/questions/49152369
复制相似问题