title: Add dashed line under button in iOS
body: <p>I have button and I want to add dashed line under it - so it will look like this.
  I know how to do it with attributed strings but I think that I should use subLayers because I will have more options to configure: such as distance between text and line.</p>
  
  <p><a href="https://i.stack.imgur.com/YRqAI.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/YRqAI.png" alt="enter image description here"></a></p>