Emoji in iPhone 2.2

In iPhoneOS 2.2 Apple added a feature for Japanese devices called 'Emoji' -> basically unicode smilies that can be used in SMS. The only catch is it's soft-locked to those using Softbank as a carrier. Doh! Well, if you as a developer just wanna try out the Emoji keyboard and see what they look like, try this in your code (you must already have a keyboard visible or it wont work):
UIView *_emojiKB =[[NSClassFromString(@"UIKeyboardLayoutEmoji") alloc] initWithFrame:[[NSClassFromString(@"UIKeyboard") activeKeyboard] bounds]]; [[NSClassFromString(@"UIKeyboard") activeKeyboard] addSubview:_emojiKB];

No comments:

Post a Comment