我需要UILabel在iOS7中嵌入小图标(一些自定义项目符号).我如何在界面设计器中执行此操作?或者至少在代码中?
在Android中有leftDrawable和rightDrawable贴标签,但它是如何在iOS中做了什么?android中的示例:

我需要在iOS应用程序中将项目符号文本添加到textView中。我在看这个链接和这一个,并跟随他们的想法。这是我的代码:
let paragraph = NSMutableParagraphStyle()
paragraph.firstLineHeadIndent = 15
paragraph.headIndent = 15
attributes = [
NSAttributedStringKey.paragraphStyle: paragraph
]
attributedString = NSAttributedString(string: "\u{2022} Some text some text some text some text some text some text", attributes: attributes)
finalText.append(attributedString)
Run Code Online (Sandbox Code Playgroud)
我需要的是使文本缩进上面的文本的开头。就像图片中的一样:
我得到的是带有项目符号起点的缩进文本。