问题
In My Application I have a Information Screen In that i am displaying related information. I have a Total 4 pages Text. In the Text There are Several Paragraphs with Bold headings and Some Bullet points are there
For Example :
My Text is looks like this :
This is Heading
This is Paragraph Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting..
This is Heading 2
The remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
**The Bullet Points are given Below :- **
desktop publishing software like Aldus PageMaker including versions
of Lorem Ipsum.desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. desktop publishing software lik
Aldus PageMaker including versions of Lorem Ipsum.
- Aldus PageMaker including versions of Lorem Ipsum.
The Above text is example text , like That i have several paragraphs with Bold Headings .
I tried by Using The TextView
to display all the information . But I want make Headings should be in bold & points should start with Bulled points .
How can i do this ? can any one give Basic Idea about this please .?
Thanks In Advance .
回答1:
You can use the Attributed Text
property of the UITextView
in the Property inspector and achieve the bold text (I don't know whether you can achieve the bullets in this way)
来源:https://stackoverflow.com/questions/24304374/in-xcode-how-to-add-multiple-paragraphs-with-bold-headings