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

Removed NavigationBar margin for iOS 11 #1038

Merged
merged 2 commits into from
Mar 12, 2018

Conversation

intoxicated
Copy link
Contributor

@intoxicated intoxicated commented Feb 25, 2018

Attempt to fix #995 by adding

for view in subviews {
  view.layoutMargins = .zero
}

for iOS 11 navigationBar margin and fixed indentation. Let me know your opinion! @DanielDahan

self.init(frame: .zero)
}
var l: CGFloat = 0
var r: CGFloat = 0
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

by the way, I see a lot of variable name like l, r, c which made me confused for a minute. I think it would be better to elaborate variable name more concisely

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent comment. I will update these. Thank you!

@intoxicated intoxicated changed the base branch from master to development February 25, 2018 10:57
@intoxicated intoxicated reopened this Feb 25, 2018
@daniel-jonathan
Copy link
Member

Awesome, I will test this and add it to the next release. Thank you!

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

Successfully merging this pull request may close these issues.

Navigation Left & Right Views position
2 participants