0

I have a UITextView, I need to add some text in "point form". Something like this:

 - > text 1

 - > text 2 

 - > text 3 

 - > text 4

My code:

UITextView *textView = [[UITextView alloc] initWithFrame:CGRectMake(0, 0, 320, 400)];
[self.view addSubView:textView];

If I have a string like text 1 text 2 text 3 text 4, how can I display it in UITextView with those bullet signs?

Ryan Wersal
  • 3,210
  • 1
  • 20
  • 29
sharon
  • 580
  • 12
  • 28
  • 2
    This question is already answered here: http://stackoverflow.com/questions/3798930/iphone-bullet-point-list – Kompi Dec 27 '11 at 15:39
  • 1
    If you read the answer you will notice that app store will reject the solution offered. anyway thank you – sharon Dec 27 '11 at 15:45

1 Answers1

0

I think you can just use

   textview.text = yourString;
   [textview.text stringByAddingPercentEscapesUsingEncoding:'TheRightTextEndoder'];

Afterwords you should place a the right textencoding so that the bullit will be displayed

BarryK88
  • 1,806
  • 2
  • 25
  • 41