Create a custom UITableViewCell, place the labels where you want (name, subtitles, score, everything you need). I highly recommend Matt Gallaghers, a custom UITableView code - it takes a lot of headaches to deal with custom strings. You will need to follow Matt Gallaghers steps to configure the cell.
To get a label with a label as close as possible to your example (mail.app), you need to set UILabel backgroundColor gray (or whatever color you want), textColor to white, and layer.cornerRadius to something equal to half the height of the label (if mark 20 is high, angleRadius should be 10). This will result in a UILabel with white text, gray background, round corners. Please note that this is not the most efficient way to do this, but Apple has not put in a video recording of the WWDC session, where they better explain the effective method (I skipped this session).
Ryanr source share