forked from xmartlabs/XLPagerTabStrip
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update PagerTabStripViewController.swift
- Loading branch information
Showing
1 changed file
with
16 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
81f3b87
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I followed your solution, but it doesn't work.
I invoked the setupDefaultViewController(at : 1) in viewdidload, but nothing happened.
what else is needed?
81f3b87
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mobilewebstar Before the
super.viewDidLoad()
is worked. The time of being called is same assettings.style
configure.81f3b87
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! but it worked once. So I had to call the method in viewwillappear() again.
override func viewWillAppear() {
setupDefaultViewController(at: selected)
}
81f3b87
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
xmartlabs#692