-
Notifications
You must be signed in to change notification settings - Fork 212
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
LGAlertViewStyleActionSheet misplaced on iPhone X #36
Comments
you can set |
Thanks, @heroims. While this is a fine workaround for iPhone X, to make it work everywhere, I'd rather suggest consulting the safe area (or bottom layout margin to make it compatible with iOS < 11) instead. |
safe area not support yet |
@mickeyl are you resolved this issue??? |
I'm not too proud of this patch, but it's a quick fix. The layout code of LGAlertView is very convoluted, almost unmaintainable in my humble opinion. The major issue is that Anyways, here's the quick workaround in case it's helpful:
|
On iPhone X, LGAlertViewStyleActionSheet overlays the home indicator bar, which violates the Apple HIG.
The text was updated successfully, but these errors were encountered: