Error with using TabBarController
wayne1203 opened this issue · 6 comments
wayne1203 commented
If I added TabBarController to the ViewController with Pager
I will got error in PagerController.swift Line 270 "var frame: CGRect = self.tabsView!.frame"
fatal error: unexpectedly found nil while unwrapping an Optional value (lldb)
Is it not support using TabBar??
lfarah commented
@nschucky can you help on this?
nsleche commented
@wayne1203 i added a tab bar to the example project, can you check if this is helpful? #33
wayne1203 commented
@nschucky Thanks and I will check it after work. 😁
schroederm commented
@wayne1203 I'm having the same problem. Could you share your solution, please?
schroederm commented
For what it's worth, it helped me to call self.defaultSetup()
after self.setupPager()
.