Questions tagged [xlpagertabstrip]

Use this tag for question about the XLPagerTabStrip component library for switching among a collection of view controllers using tabs.

It is the iOS version of the Android PagerTabStrip. XLPagerTabStrip is a Container View Controller that allows us to switch easily among a collection of view controllers. Pan gesture can be used to move on to next or previous view controller. It shows a interactive indicator of the current, previous, next child view controllers.

For more info see the github project

98 questions
0
votes
1 answer

Multiple ButtonBarView in single view controller in XLPagerTabStrip library

I have a requirement to show one ButtonBarView in the upper half of screen and second ButtonBarView in the lower half of the screen. How to implement multiple ButtonBarView in single view controller? Please help me. This is in the XLPagerTabStrip…
Sachin Tanpure
  • 530
  • 5
  • 11
0
votes
1 answer

xlpagertabstrip some labels not fully displayed

am using XLpagertabstrip in my application .. but i have a problem that the text is bigger than the width and it got cut from both sides .. like image below: as you can see last tab which is المواجهات المباشرة is not displayed fully.. this is my…
Lama
  • 225
  • 3
  • 15
0
votes
1 answer

Swift: XLPagerTabStrip: ButtonBarPagerTabStripViewController: ChildViewController IBOutlets are not set

Xcode -> 9.4.1, iOS -> 11.4, XLPagerTabStrip -> 8.0.1 I wanted to create top scrolling tabs ( like in android ) in ios using swift. I am using ButtonBarPagerTabStripViewController from library XLPagerTabStrip. Below is the code :- class…
ankiraw91
  • 61
  • 7
0
votes
1 answer

passing data between children using XLPagerTabStrip

am using https://github.com/xmartlabs/XLPagerTabStrip and i have 3 children ... i want to pass value from child to child .. am able to pass value from parent to first child like this: let parentVC = self.parent as! ParentViewController …
Lama
  • 225
  • 3
  • 15
0
votes
1 answer

navigating to another child on button click

am using https://github.com/xmartlabs/XLPagerTabStrip#how-to-change-the-visible-child-view-controller-programmatically in my application ... on button click from one child i want to move to another child .. i tried: @IBAction func morenewsbtn(_…
Lama
  • 225
  • 3
  • 15
0
votes
1 answer

parent view is behind child view

Am using XLPagerTabStrip library in my application. https://github.com/xmartlabs/XLPagerTabStrip Here how am using it: import UIKit import XLPagerTabStrip class MyAccountViewController: ButtonBarPagerTabStripViewController { override func…
mrs.bassim
  • 379
  • 1
  • 5
  • 14
0
votes
1 answer

Pass Array to the XLPagerTabBar delegate function to open VC

i'm working with the third party lib XLPagerTabBarStrip. it has delegate override func viewControllers(for pagerTabStripController: PagerTabStripViewController) -> [UIViewController] Now i'm trying to pass my array that contains the storyboard…
raheem
  • 659
  • 2
  • 8
  • 16
0
votes
1 answer

Ho to hide Childe View Controller of ButtonBarPagerTabStripViewController on segment index chnage

Hi I am using ButtonBarPagerTabStripViewController for pager, on segment controller index change i want hide one child view controller of ButtonBarPagerTabStripViewController. I used override public func viewControllers(for…
Asmita
  • 439
  • 6
  • 18
0
votes
1 answer

XLPagerTabStrip black space

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?
0
votes
1 answer

Blank space between XLPagerTabStrip

I am trying to implement XLPagerTabStrip in my application. All is good because I have followed the official Tutorial I have changed the color of my collectionView to red. When the app runs in the simulator I see that there is a blank space like…
Dimoreno
  • 219
  • 2
  • 13
0
votes
0 answers

XLPagerTabStrip: How to change indicator action

I am using BaseButtonBarPagerTabStripViewController in XLPagerTabStrip, and have three child view controllers: FirstViewController with IndicatorInfo first SecondViewController with IndicatorInfo second ThirdViewController with…
ioio007
  • 227
  • 5
  • 11
0
votes
0 answers

XLPagerTabStrip-Separator between controllers

In XLPagerTabStrip, How can I add a separator between the view controllers, that will be shown only when scrolling?
vishnu_146
  • 309
  • 2
  • 12
0
votes
1 answer

How to detect swiping or selecting event in XLPagerTabStrip swift

I am going to detect the swiping or selecting tab event in XLPagerTabStrip library in Swift 4. I only need to get the tab index whenever selected tab is changed. So I have checked library in Github but not found any good solutions. thanks.
Bolek.N
  • 71
  • 2
  • 7
0
votes
1 answer

How can I have center the selected tab with XLPagerTabStrip?

I want to have a viewpager having 5 tabs. Max. 3 should be visible at a time, having equal widths and it should center the selected tab. It would be like Fotmob's app screen. The layout would be like this: Yesterday | Live| Today | Tomorrow | Day…
Ashwin Sathawane
  • 365
  • 2
  • 14
0
votes
1 answer

XLPagerTabStrip Tabs not getting equal width of screen :Swift

I am using XLPagerTabStrip, I have a Scrollview and a collectionView name Container and ButtonBarView respectively . Everything is working fine except Tab item Visibility . I want something like Tabs equaly dividing tabs. Parant controller code is…
Junaid Ali
  • 145
  • 2
  • 12