How to recreate native iOS UI label with border in SWIFT? : As a beginner in SWIFT dev, I have a challenge replicating basic UI elements in Xcode.

I am not aware how to replicate elements from [this picture][1]. 

The action that needs to happen is: when clicking on "On site", new View Controller is opened.

I have assumed that "On Site" is a UIButton sitting on UIView White Rectangle with Grey Border on Top and Bottom. Is there a different/better way of doing this?  

  [1]: https://i.stack.imgur.com/EkrZx.png