aerb
03/13/2019, 5:24 PMSebastian Keller
03/13/2019, 5:30 PMaerb
03/13/2019, 5:32 PMaerb
03/13/2019, 5:32 PMaerb
03/13/2019, 5:33 PMsizeThatFits
Sebastian Keller
03/13/2019, 5:35 PMaerb
03/13/2019, 5:39 PMsvyatoslav.scherbina
03/14/2019, 6:20 AMsizeThatFits
is declared in a category, so it is currently represented as extension method in Kotlin and thus can’t be overridden.Ellen Shapiro
03/14/2019, 1:43 PMaerb
03/14/2019, 2:12 PMSam
03/14/2019, 2:38 PMintrinsicContentSize
that will work well with autolayout. To get rid of some of the ambiguities you may also have to set contentHuggingPriority
and contentCompressionResistance
on the child views.