1

I need to display an emoji in a UILabel from Unicode decimal.

I have the following value 128513 enter image description here (from Unicode table: http://apps.timwhitlock.info/unicode/inspect/hex/1F601)

Is it possible? I got it using a hexadecimal Unicode, but now I need to show emoji from decimal Unicode, because of an API that I'm using.

Nisse Engström
  • 4,636
  • 22
  • 26
  • 40
Douglas Franco
  • 581
  • 5
  • 13

1 Answers1

-2
[yourString stringbyreplacingpercentescapesusingencoding NSUTF8StringEncoding]

While showing to label.

Arpit B Parekh
  • 1,890
  • 5
  • 33
  • 55