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

issue with XLPagerTabStrip while implementing in my app

i am creating using Swift in my app i am implementing XLPagerTabStrip and i have referred below blog to implement here is the link This is the reference link all thing works perfect although when i navigate to my Home screen then XLPagerTabStrip…
0
votes
0 answers

XLPagerTabStrip with Swift customisation

hello everyone im using XLPagerTabStrip in my ios App it works fine but i want to shorten the width of selected bar and also add a dot at the top like shown in the picturetab bar
salman
  • 15
  • 3
0
votes
0 answers

XLPagerTabStrip: How do I change the positioning of the bar?

I am trying to use XLPagerTabStrip to switch between view controllers, but my app has a status bar at the top and I want to move the tab-strip below the status bar, but I can't seem to do that. I found another similar question that said to connect a…
fisch
  • 106
  • 7
0
votes
1 answer

iOS framework XLPagerTabStrip not working properly

I am using XLPagerTabStrip for getting TabBar with ViewPager type behaviour like Android. I have configured as per their github repo documentation guideline but on my case it is having a peculiar behaviour at my simulator iPhone11 Pro max and real…
Md. Sulayman
  • 551
  • 7
  • 20
0
votes
1 answer

XLPagerTabStrip : My title label in tab bar not fully showed

How can i solve this tab label not fully showed ? Screenshot problem: [![enter image description here][1]][1] When i try in new project the label of tab bar is showing normal, but in the now project that i worked on, the label of tab bar not fully…
L Wira Satria M
  • 57
  • 2
  • 12
0
votes
0 answers

iPhone simulator doesn't update last frame and the UIView width doesn't fill the screen

On my iPhone 7 plus it's working fine, but on the simulator iPhone 5 SE the UIView doesn't fill the screen only after I switch tabs or I scroll the view. I'm using XLPagerTabStrip (9.0.0) to obtain two pages. I added a UIView with the blue…
Zbarcea Christian
  • 8,320
  • 16
  • 74
  • 124
0
votes
2 answers

XLPagerTabStrip Change Icon Size

Hi I am using XLPagerTabStrip to display android like fragment tabs on my ios app (xcode 10.2.1) (IOS 12.3.1) I am trying to change the icon size. I am using the following code to declare the icons return IndicatorInfo(image: UIImage(named:…
DragonFire
  • 2,033
  • 1
  • 18
  • 33
0
votes
1 answer

Pass Data from Container VC to Child VC in XLPagerTabStrip

i'm using a third party lib XLPagerTabStrip. I have a Container VC and Three Child VC. Now i have a button that display calendar on tap in my Container VC. I want that when i tap any date it should pass that date to my Child VC and there i will hit…
Junaid Khan
  • 105
  • 11
0
votes
1 answer

I am using xlpagertabstrip . I want to send some data from parent to childviewcontroller regularily after viewcontroller are loaded

How do I communicate from parent to child view controller once a view is loaded? I want to communicate from parent to child without notification any idea?. from child to parent I can use protocol and delegates
Shoaib Pathan
  • 109
  • 1
  • 4
0
votes
2 answers

Sub-class must implement the PagerTabStripDataSource viewControllers(for:) method in XLPagerTabStripe library

I've updated Swift project from Swift 2 to Swift 4 and I'm facing this issue. Before migration it worked fine in Swift 2. But after migration error occurred Sub-class must implement the PagerTabStripDataSource viewControllers(for:) method As I…
Svetoslav Atanasov
  • 1,642
  • 17
  • 40
0
votes
1 answer

XLPagerTabStrip swift

I'm trying to implement XLPagerTabStrip in my project. in the documentation it says "ButtonBarPagerTabStripViewController requires us to connect buttonBarView outlet. buttonBarView type is ButtonBarView which extends from UICollectionView." what…
0
votes
1 answer

XLPagerTabStrip: Dynamically adding subviews to tab's view controllers wouldn't display except under first tab

XLPagerTabStrip: Dynamically adding subviews to tab's view controllers wouldn't display except under first tab. Please download the project and run it to see the problem: https://github.com/farhan101/TheProblemView First Tab: Under View One tab you…
Farhan Arshad
  • 287
  • 3
  • 9
0
votes
0 answers

XLPagerTabstrip . how can i update bar title from another tab

Xcode 10.1 XLPagerTabStrip I have 4 tab tab1 . tab2. tab3. tab4 case1. if current index is tab1 if let pagerTabStrip = self.parent as? ButtonBarPagerTabStripViewController { pagerTabStrip.buttonBarView.reloadData() } this code is work…
ttoggaiman
  • 71
  • 2
  • 5
0
votes
1 answer

XLPagerTabStrip switching horizontal scrolling tabs to multi-row tabs

I have a view controller which extends ButtonBarPagerTabStripViewController and there are 9 tabs to be displayed in the ButtonBarView. I'm wondering if it's possible to disable the horizontal scrolling and make it into 3 tabs per row with 3 rows in…
Angeline
  • 46
  • 1
  • 7
0
votes
2 answers

Present uiviewcontroller from ParentViewController in Swift 4

I have a parentview which has 2 child views, I am trying to show a uiviewcontroller as "Present modally" I use the following code: class ParentCtrl: ButtonBarPagerTabStripViewController { let obj = ChildCtrl() override func viewDidLoad() { …
Israel
  • 121
  • 8