-
Notifications
You must be signed in to change notification settings - Fork 46
Open
Description
Hello,
So, I access this VC with a segue and it works.
Although, when I tried to make it work with this pod it doesn't open anymore.
This is my VC's code.
Am I missing anything?
`class PortfolioDetailsVC: SwipeViewController {
override func viewDidLoad() {
super.viewDidLoad()
let pageController = UIPageViewController(transitionStyle: .scroll, navigationOrientation: .horizontal, options: nil)
let navigationController = PortfolioDetailsVC(rootViewController: pageController)
let stb = UIStoryboard(name: "Main", bundle: nil)
let pageOne = stb.instantiateViewController(withIdentifier: "PortfolioDetailsVC") as UIViewController
let pageTwo = stb.instantiateViewController(withIdentifier: "AutoInvestSettingsVC") as UIViewController
let pageThree = stb.instantiateViewController(withIdentifier: "AutoInvestOverviewVC") as UIViewController
setViewControllerArray([pageOne])
pageOne.title = "My AutoInvest"
pageTwo.title = "AutoInvest Settings"
pageThree.title = "Overview"
setFirstViewController(0)
setNavigationColor(UIColor.blue)
equalSpaces = true
setSelectionBar(80, height: 3, color: .black)
}
}`
In the image, the highlight is a navigation bar.
I would love some help.
Metadata
Metadata
Assignees
Labels
No labels