Format UILabel with bullet points?

Rob picture Rob · Apr 4, 2011 · Viewed 57.5k times · Source

Is it possible to format the text in a UILabel to show a bullet point?

If so, How can I do it?

Answer

user94896 picture user94896 · Apr 4, 2011

Perhaps use the Unicode code point for the bullet character in your string?

Objective-c

myLabel.text = @"\u2022 This is a list item!";

Swift 4

myLabel.text = "\u{2022} This is a list item!"