Skip to content
This repository has been archived by the owner on Jun 24, 2020. It is now read-only.

Error with using TabBarController #32

Closed
wayne1203 opened this issue Nov 3, 2016 · 6 comments
Closed

Error with using TabBarController #32

wayne1203 opened this issue Nov 3, 2016 · 6 comments

Comments

@wayne1203
Copy link

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
Copy link
Collaborator

lfarah commented Nov 3, 2016

@nschucky can you help on this?

@nsleche
Copy link
Contributor

nsleche commented Nov 4, 2016

@wayne1203 i added a tab bar to the example project, can you check if this is helpful? #33

@wayne1203
Copy link
Author

@nschucky Thanks and I will check it after work. 😁

@wayne1203
Copy link
Author

I checked #33 it's not problem.
Thank you for your help.

@schroederm
Copy link

@wayne1203 I'm having the same problem. Could you share your solution, please?

@schroederm
Copy link

For what it's worth, it helped me to call self.defaultSetup() after self.setupPager().

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants