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

layout.bottomSpace no longer accessible #27

Closed
salvatoreboemia opened this issue Feb 27, 2021 · 3 comments
Closed

layout.bottomSpace no longer accessible #27

salvatoreboemia opened this issue Feb 27, 2021 · 3 comments
Labels
bug Something isn't working

Comments

@salvatoreboemia
Copy link

Hi, why is the following property no longer accessible?

alertView.layout.bottomSpace = UIScreen.main.bounds.height
alertView.layout.topSpace = UIScreen.main.bounds.height

so I could have it displayed very well in full screen above everything.

Thanks

@ivanvorobei
Copy link
Member

Now it renamed to margins. You can check more info here.

@salvatoreboemia
Copy link
Author

Now it renamed to margins. You can check more info here.

I get this error:

Screenshot 2021-02-28 at 13 51 37

@ivanvorobei ivanvorobei reopened this Mar 1, 2021
@ivanvorobei
Copy link
Member

Thanks, you are right. Problem was with protect level for layout object. In last version it was fixed.

@ivanvorobei ivanvorobei added the bug Something isn't working label Mar 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants