Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix error when embed in tab bar controller. #15

Closed
wants to merge 1 commit into from

Conversation

nashsu
Copy link

@nashsu nashsu commented Feb 22, 2015

move code in viewWillAppear to viewDidLoad to avoid error when embed in
tab bar controller.

move code in viewWillAppear to viewDidLoad to avoid error when embed in
tab bar controller.
@cwRichardKim
Copy link
Owner

I'll make a note in the readme for anyone else with this problem, but I actually put those functions there for a reason. It's not guaranteed that the scrollview will be there at viewDidLoad because Apple clearly doesn't want us to play with it (we're playing with it anyway). ViewWillAppear guarantees that. I appreciate the input though!!

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

Successfully merging this pull request may close these issues.

2 participants