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

I get the warning: adding view on AutoKeyboardScrollView detected, you should add view on .contentView #7

Closed
EndBird opened this issue Aug 1, 2020 · 1 comment

Comments

@EndBird
Copy link

EndBird commented Aug 1, 2020

even when im not adding anything in scrollview directly.

Heres my code:

contentView.removeFromSuperview()
let AutoScrollView = AutoKeyboardScrollView()
AutoScrollView.layer.frame = CGRect(x: 0, y: 80, width: 375, height: 667)

             AutoScrollView.contentView.addSubview(contentView)
    self.view.addSubview(AutoScrollView)
@honghaoz
Copy link
Owner

honghaoz commented Aug 5, 2020

Hey @EndBird Thanks for reporting! I've just fixed this bug. You can reinstall this pod, the latest version is 1.5.2

@honghaoz honghaoz closed this as completed Aug 5, 2020
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

No branches or pull requests

2 participants