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,738
  • 23
  • 27
  • 42
Douglas Franco
  • 591
  • 5
  • 13

1 Answers1

-2
[yourString stringbyreplacingpercentescapesusingencoding NSUTF8StringEncoding]

While showing to label.

Arpit B Parekh
  • 1,932
  • 5
  • 36
  • 57