title: How to add tags into view side by side by button click using Swift
body: <p>I would like to create <code>tags</code> UI side by side. The tags should be increment upto five by button click. I tried by using <code>horizontal</code> <code>stacklayout</code> with multiple <code>buttons</code> but its not working properly. How to achieve below UI, Provide some idea.</p>
  <p>My <code>storyboard</code> below with horizontal stacklayout and its <code>attributes</code></p>
  <h1>Storyboard</h1>
  <p><a href="https://i.stack.imgur.com/eaXuA.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/eaXuA.png" alt="Storyboard" /></a></p>
  <h1>Horizontal Stacklayout Attributes</h1>
  <p><a href="https://i.stack.imgur.com/15qWm.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/15qWm.png" alt="Horizontal Stacklayout Attributes" /></a></p>
  <h1>Expected output</h1>
  <p><a href="https://i.stack.imgur.com/2PDYQ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/2PDYQ.png" alt="Expected output" /></a></p>