0

I am using XLPagerTabStrip for getting android tabtool in iosgetting black space like this but using this I am getting a black space between view and screen when I scroll the end point view controller why? and how to solve it?

1 Answers1

1
class MyPagerTabStripName: ButtonBarPagerTabStripViewController {
    super.viewDidLoad()
    ...
    self.containerView.bounces = false // add this line to disable bounce
}

or if you want to keep bounce effect, you can set view's backgroundColor, like in your image, you can change backgroundColor to white.

ioio007
  • 227
  • 5
  • 11