Search code examples
iphoneiosios6sqliteuitextview

ASCII text not symmetric in UITextView as which is save in SQLite


I have saved ASCII characters in SQLIte database and when I print in the console, It is symmetric like this: enter image description here

But when I am trying to print on the UITextView I get this result : enter image description here

The UITextView's Text is Attributed I even tried keeping it plain ... But same result ... Where am I going wrong.


Solution

  • Got the solution ... Just changed font to courier ... It should have a Monospaced font ... http://en.wikipedia.org/wiki/Monospaced_font and reduced the font size to fit in the textview.