Open vvard3n opened 6 years ago
when I need to update dropdownMenu width, I need reset intrinsicContentSize than call layoutIfNeeded. like this:
dropdownMenu.width = 150;
dropdownMenu.intrinsicContentSize = CGSizeMake(150, 44);
[dropdownMenu layoutIfNeeded];
I'm not familiar with your code.
Please optimize the code than release.
: ) 👍
iOS 11 Layout Support