Hi All,
If you want to show flags in using unicode hex coding (U+XXXX) than you can follow this code .
UNICODE:- Unicode is a computing industry standard for the consistent encoding, representation, and handling of text expressed in most of the world's writing systems.
You can find unicode for the flags here :- https://raw.githubusercontent.com/matiassingers/emoji-flags/master/data.json
In Swift
if unicode is in 'U+1F1E6 U+1F1F7' format
let str = "\u{1f1e9}\u{1f1ea}" ;
self.label.text = str;
In Objective C
if unicode is in 'U+1F1E6 U+1F1F7' format
NSString *input = @"\U0001F1E6\U0001F1FA";
self.label.text = input;
OUTPUT :
0 Comment(s)