0

I am trying to show the Local push notification with some notify messages to user. But the thing is I can't to show the special characters like %.

Dharman
  • 30,962
  • 25
  • 85
  • 135
Suresh D
  • 4,303
  • 2
  • 29
  • 51
  • 1
    This actually isn't a duplicate; he's right. Even if you use the standard NSString stringWithFormat, the percent sign doesn't show up in a local/push notification. – elsurudo May 15 '12 at 19:28
  • @elsurudo pls give vote for reopen it! – Suresh D May 16 '12 at 08:48
  • No, sorry it was my mistake. It's totally possible. You have to use "%%" in the format string. My problem was that I was using the formatted result as a format string somewhere else, so in fact I have to do "%%%%" to account for the double-formatting. Maybe you're doing something similar, Suresh? – elsurudo May 17 '12 at 09:20
  • A now-deleted answer indicates that [this post](https://stackoverflow.com/a/739707/491960) contains the solution. – halfer Nov 29 '17 at 11:27

0 Answers0