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
UIToolbar -> _UIToolbarContentView -> _UIButtonBarStackVie
_UIToolbarContentView's width should equal 0 _UIToolbarContentView's height should equal 0
Workaround that fixes 1 warning
toolbar.setItems(items, animated: false) toolbar.updateConstraintsIfNeeded()
Use a non .zero frame that is close to the view bounds width
.zero
let toolbar = UIToolbar(frame: CGRect(x: 0, y: 0, width: 375, height: 30)) DispatchQueue.main.async { self.toolbar.updateConstraintsIfNeeded() }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hierarchy
UIToolbarContentView
Workaround that fixes 1 warning
Set frame explicitly
Use a non
.zero
frame that is close to the view bounds widthThe text was updated successfully, but these errors were encountered: