问题
In Xcode, I've previously gone to Editor > Emoji & Symbols, found some Emoji, double clicked it and had it appear in my code where the cursor is.
I'm trying to do that now and nothing is happening. I can't find any way to get the Emoji into Xcode.
Does anyone have some suggestion?
回答1:
This solution is for Mac OS (Mavericks and up) and not only Xcode:
Cmd+Ctrl+Space
Will bring this menu, where you can simply click on the one you want:
回答2:
Open Xcode -> Edit Menu -> Choose
Then Emoji appears , Here is snapshot :
Note : - Xcode 7.2.1
Hope it Helps. Thanks
来源:https://stackoverflow.com/questions/36846897/how-to-add-emoji-in-code