We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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 would like to stick it to the top ov the screen. Is it possible?
As you can see on the image it should be constrained to the top of the screen, but it is not. Why?
This is how i defined it in code:
private let imageView: UIImageView = { let view = UIImageView() view.contentMode = .scaleAspectFill return view }() private lazy var scrollView: UIScrollView = { let view = UIScrollView() view.showsVerticalScrollIndicator = false view.bounces = true view.backgroundColor = .clear view.parallaxHeader.view = imageView view.parallaxHeader.mode = .centerFill view.parallaxHeader.height = 400 view.parallaxHeader.minimumHeight = 100 return view }() addSubview(scrollView) scrollView.snp.makeConstraints { maker in maker.leading.trailing.top.equalToSuperview() maker.bottom.equalTo(safeAreaLayoutGuide) }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I would like to stick it to the top ov the screen. Is it possible?
As you can see on the image it should be constrained to the top of the screen, but it is not. Why?
This is how i defined it in code:
The text was updated successfully, but these errors were encountered: