0

A basic functionality I am trying to implement in UITextView.

I have a text (NSString) and I am trying to place in to the text field as a paragraph (indentation). Is it possible? I have seen many links but none of them have an exact answer.

We have a property named textAlignment but it is for left, right or center not indention.

Can anyone suggest how to implement this?

Jasarien
  • 58,279
  • 31
  • 157
  • 188
ajay
  • 3,245
  • 4
  • 31
  • 59

2 Answers2

2

You should consider using a UIWebView if your displayed text has formatting. Using textViews and labels quickly renders the code to complex.

Stefan Ticu
  • 2,093
  • 1
  • 12
  • 21
0

Possible solution in this post - as the first answer suggested, use a UIWebView.

Community
  • 1
  • 1
petert
  • 6,672
  • 3
  • 38
  • 46