-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Any plan to support Xcode 11? #1250
Comments
@himaratsu Yes, there are always plans to support the latest from Apple. Because it is |
I've spent much time on the same issue and have come up with a workaround that works for me and I think it will help you as well. On iOS 13, changing layout margins of a private view is not allowed. So, expanding the frame to eliminate the layout margins can be an alternative solution. if (@available(iOS 13.0, *)) {
UIEdgeInsets margins = view.layoutMargins;
CGRect frame = view.frame;
frame.origin.x = -margins.left;
frame.origin.y = -margins.top;
frame.size.width += (margins.left + margins.right);
frame.size.height += (margins.top + margins.bottom);
view.frame = frame;
}
else {
view.layoutMargins = UIEdgeInsetsZero;
} |
@nguyenbao95 @himaratsu Thank you for the support! We are getting ready to roll out updates for iOS 13 and supper Xcode 11 in the next few weeks. |
@adamdahan saw that you moved it to done. I'm curious what was the fix for iOS 13. |
@mrtsamma You are correct. :) I realize now this ticket was visibility for others on the iOS 13 topic. Reopening issue until we release the IOS 13 patch. |
Ok, @nguyenbao95 answare suits for me with a small change(thanks):
I don't need and can't to change height nor y pos. |
please merge this fix, I can't build my project anymore @DanielDahan |
@22Round Try Material 3.1.8. Thank you! |
@mrtsamma where have you placed this your code? I have upgraded to xcode 11.3 i'm getting same crash. how i can i recover from it. |
@adamdahan have your lib updated for 11.3 and iOS 13 version, if so please let me know the link or pods i'm facing an issue |
Hi!
in Xcode 11, we can't build app using Material.
Error message is here:
Do you have any plan to support this? Thanks.
The text was updated successfully, but these errors were encountered: