freshOS/Stevia

Height constraint is nil if using xib or storyboard.

NikKovIos opened this issue · 1 comments

Hi there))

view.heightConstraint?.constant == 0

is not usable, because it is nil if i set it in storyboard of xib file.

s4cha commented

Hey @NikKovIos, good to hear from you!
I thought this was fixed :/
This reminds me of #90 and the fix was https://github.com/freshOS/Stevia/pull/97/files
Can you debug / print the constraints generated by the xib/storyboard file?

PS Sorry for taking so long to reply 🙏
(I've been doing a lot of Kotlin lately, spying on our enemies xD)