Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 XLPagerTabStrip 让 ios 中的 android tabtool得到这样的黑色空间,但是使用这个我在滚动端点视图控制器时在视图和屏幕之间得到一个黑色空间,为什么?以及如何解决?
class MyPagerTabStripName: ButtonBarPagerTabStripViewController { super.viewDidLoad() ... self.containerView.bounces = false // add this line to disable bounce }
或者如果你想保持反弹效果,你可以设置视图backgroundColor,就像在你的图像中一样,你可以改变backgroundColor为白色。
backgroundColor