Xlpagertabstrip: How can change from one view controller to another one programmatically?

Created on 5 Aug 2016  路  4Comments  路  Source: xmartlabs/XLPagerTabStrip

I want to add a button in the navigation bar, and then once they click the button, it would go to the next view controller. (I want to be able to swipe left or right to change view controllers but also be able to pressed the button and change view controllers.

Most helpful comment

Hi!
The proper way to do this is using moveToViewController(at: index), the unbalanced calls to begin/end appearance transitions error is fixed on the master branch.

Cheers

All 4 comments

moveToViewController(at: x)

Should we need to confirm some delegates? Or, Can you provide us with a little more codes please.. Getting error with unidentified identifiers.

I receive Unbalanced calls to begin/end appearance transitions for in my console. Was wondering if anyone has a proper solution?

Hi!
The proper way to do this is using moveToViewController(at: index), the unbalanced calls to begin/end appearance transitions error is fixed on the master branch.

Cheers

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Emasoft picture Emasoft  路  5Comments

fenixsolorzano picture fenixsolorzano  路  4Comments

luminkhant picture luminkhant  路  4Comments

alexanderkhitev picture alexanderkhitev  路  4Comments

emrecanozturk picture emrecanozturk  路  5Comments