UILabel sizing during device rotation
-
06-02-2021 - |
Pergunta
In my app I have two labels. Second one should be positioned below the first one (with some small const padding). The first label is multi-lined and takes all possible width. So after changing interface orientation, its real height can change (because necessary line number can change). That's why autoresizing mask can't help me here.
So.. How can I control this and display labels correctly even during interface orientation change animation?
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow