-
Notifications
You must be signed in to change notification settings - Fork 128
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix layoutMarginsRelativeArrangement to align to margin attributes
- Loading branch information
1 parent
aaef1db
commit 11beb29
Showing
1 changed file
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11beb29
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, I think this change break the iOS7 compatibility, isn't it?
11beb29
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can't compile in iOS 7
11beb29
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are right. I don't have much time to address this though.
Can any of you make a pull request that addresses this issue. Ideally I would like a solution where in iOS 8 the BottomMargin, LeftMargin etc is used and on iOS 7 the Bottom, Left etc attributes.
Is that possible?
11beb29
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In Swift you can easily make it a conditional
if #available(iOS 8.0, *)