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
The text was updated successfully, but these errors were encountered:
Had the same problem. To solve it in the ConstraintsSetup.swift file I changed line 120 from
for attribute in topViewAttributes { view.addConstraint(NSLayoutConstraint(item: topView, attribute: attribute, relatedBy: .equal, toItem: self.view, attribute: attribute, multiplier: 1, constant: 0)) }
to
for attribute in topViewAttributes { if #available(iOS 11.0, *) { view.addConstraint(NSLayoutConstraint(item: topView, attribute: attribute, relatedBy: .equal, toItem: self.view.safeAreaLayoutGuide, attribute: attribute, multiplier: 1, constant: 0)) } else { view.addConstraint(NSLayoutConstraint(item: topView, attribute: attribute, relatedBy: .equal, toItem: self.view, attribute: attribute, multiplier: 1, constant: 0)) } }
Sorry, something went wrong.
Seems like this PR is targeting it. #372
The same with the bottom controls, they could be pushed up on the iPhoneX
@onmyway133 PR #372 needs to be merged please.
onmyway133
No branches or pull requests
The text was updated successfully, but these errors were encountered: