how can I align the text of my label in swift so that it starts in the top left corner of the label?
<p>I have a textfield with <code>lines</code> property set to 0, so that when the text is longer it will automatically fill all the necessary space. But when the string is short, it is automatically placed in the middle of the label, it looks like this:</p>

<p><a href="https://i.stack.imgur.com/qsAtd.png" rel="noreferrer"><img src="https://i.stack.imgur.com/qsAtd.png" alt="enter image description here"></a></p>

<p>Is there a way (or maybe a property to set) of putting this text in the top left corner? This is my attribute inspector for that label:</p>

<p><a href="https://i.stack.imgur.com/XxLHa.png" rel="noreferrer"><img src="https://i.stack.imgur.com/XxLHa.png" alt="enter image description here"></a></p>