view.keepTopInset.equal = view.keepLeftInset ??
marcelosalloum opened this issue · 1 comments
marcelosalloum commented
Hello guys,
is that possible to retrieve one of the inset values and use it to set another inset? Like view.keepTopInset.equal = view.keepLeftInset
?
Thanks,
Tricertops commented
Yes, it is possible, you almost got it right:
view.keepTopInset.equal = view.keepLeftInset.equal;
It will copy both: value and its priority.