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

Bottom padding for iPhone X style phones #511

Merged
merged 2 commits into from
Oct 7, 2020

Conversation

palmtrae
Copy link

@palmtrae palmtrae commented Oct 6, 2020

Fixes an issue where the ActionSheet renders behind the home bar.

Behind home bar Above home bar

@skywinder
Copy link
Owner

Thank you very much! 👍

@skywinder skywinder merged commit ad2b159 into skywinder:develop Oct 7, 2020
Comment on lines +257 to +260
if (@available(iOS 11.0, *)) {
UIWindow *window = UIApplication.sharedApplication.keyWindow;
height += window.safeAreaInsets.bottom;
}
Copy link

Choose a reason for hiding this comment

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

Copy link
Author

@palmtrae palmtrae Oct 12, 2020

Choose a reason for hiding this comment

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

True, there's more examples of this in the code base. Should probably open a new issue with this in mind to add scene support for iPads.

Copy link
Owner

Choose a reason for hiding this comment

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

Agree. It would be nice if someone can deal with is.

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

Successfully merging this pull request may close these issues.

2 participants