Do2 Do2 - 2 years ago 104
iOS Question

Issues when attempting to modify an emoji sequence

I have the following function that takes a string with emojis, if its a sequence emoji a+b it will leave a as is and it will change b to a different emoji

func changeEmoji(givenString:String)->(String){

let emojiDictionary :[String:String] = [
"⛹" : "⛹",
"♀️" : "

Answer Source

The problem is that "⛹

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download