iphone app emoticons
I have made an iphone application that allows users to send text messages for free to any mobile. I want to allow users to add emoticons into their message from standard set provided by me. What mi开发者_如何学JAVAght be the best possible solution for this scenario? regards ayaz Alavi
The typical way is to use UTF8 codes which map to images on the users' phones.
However, unless the recipients of the text have configured/setup their phone to support these codes ala the [Emoji app of the day], they will see little square boxes.
If both the sender and the recipient have your application, then you can handle it directly, of course.
So basically, you are SOL. There isn't anything you can do besides recommend your users install an emoji app. Sorry.
You can add like this
NSString *comment = [comment stringByReplacingOccurrencesOfString:@":)" withString:@"\ue415"];
Find some emotions code here
Here
精彩评论