Swift iOS. Multi line UILabel background color to follow the text
<p>I have a multi line UILabel which I want to set the background color exactly the same as when you highlight the text on a web browser with your mouse but cannot seem to find a solution.</p>

<p>This is what I got in my storyboard:
<a href="https://i.stack.imgur.com/X2JAC.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/X2JAC.png" alt="enter image description here"></a></p>

<p>And this is what I am aiming to achieve:</p>

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

<p>This is the browser example I was mentioned above:
<a href="https://i.stack.imgur.com/MMOXB.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/MMOXB.png" alt="enter image description here"></a></p>