Search code examples
iphonecocoa-touchios4sms

How to programmatically add spaces in SMS in iPhone SDK?


In my iPhone app, I have ASCII arts which I send to others via SMS.

Problem is when I send the ASCII art to SMS API then it trims the spaces in between the characters of the ASCII art. and becomes left aligned.

What could be wrong?


Solution

  • Finally got the solution, refer to my question:

    How to Add spaces in SMS API in iPhone SDK

    Refer to answer by phix23. That works in my case.