I want to highlight match text in UILabel as
Here's my code, but I do not know how to highlight each matched text with background color of yellow
//Highlight Text
let string = self.myInterestsLbl.text
if string?.range(of:"Fashion") != nil {
print("Highlight Fashion")
}