I added a tagListView onto my View Controller and set Enable Remove Button to "Default". I want to be able to show the remove button when my user presses a button and by default it should be off. When I set tagListView.enableRemoveButton = true in my code, the tag expands to have enough space to display the text and the remove button, but the remove button does not show up. When I click it where it is supposed to be it removes the tag but the icon seems to be invisible (refer to the image below). I have set the line color to white (which should show up against my blue tag background), the line width to 1, and the icon size to 9 (See code below). How do I get the remove button to appear?
I added a tagListView onto my View Controller and set Enable Remove Button to "Default". I want to be able to show the remove button when my user presses a button and by default it should be off. When I set tagListView.enableRemoveButton = true in my code, the tag expands to have enough space to display the text and the remove button, but the remove button does not show up. When I click it where it is supposed to be it removes the tag but the icon seems to be invisible (refer to the image below). I have set the line color to white (which should show up against my blue tag background), the line width to 1, and the icon size to 9 (See code below). How do I get the remove button to appear?
Code:
tagListView.enableRemoveButton = true tagListView.removeIconLineWidth = 1 tagListView.removeButtonIconSize = 9 tagListView.removeIconLineColor = UIColor.white.withAlphaComponent(1)
Image: