After I checked new Fonts in iPhone 4.2.1 it was just a question of time until I would start wondering iPhone vs iPad fonts.
Here's a quick and small chart about iPhone & iPad fonts in simulator. Would do comparison between real devices, but don't have enough of those. Does anyone ever :)
Showing posts with label emoji. Show all posts
Showing posts with label emoji. Show all posts
Sunday, January 16, 2011
Sunday, November 28, 2010
Fonts in iPhone 4.2.1
I've always been intertested in "fonts", so one of the first things to do after installing iPhone 4.2.1 was to checked available fonts. Don't know about others, but I'm pretty sure Apple Color Emoji wasn't in previous iOS version! Now I'm wondering about the others...
Wednesday, February 10, 2010
How to Put a Smiley Into Your UILabel
Sometimes iPhone SDK just makes you smile, things you expect to be difficult turn out to be really simple. Take for example a smiley face :)
iPhone contains by default a Japanese font, which supports unicode emoji characters. As a result you suddenly have built-in supports for about 460 graphical icons, all of which you can put anywhere as part of any text string!
Here's full list of emoji characters in iPhone. Have fun ;)
NSRange range = {NSNotFound, 0};
NSString *s = @"This is a smiley :) face";
range.location = 0;
range.length = [s length];
s = [s stringByReplacingOccurrencesOfString:@":)"
withString:@"\ue415"
options:NSCaseInsensitiveSearch
range:range];
iPhone contains by default a Japanese font, which supports unicode emoji characters. As a result you suddenly have built-in supports for about 460 graphical icons, all of which you can put anywhere as part of any text string!
Here's full list of emoji characters in iPhone. Have fun ;)
Subscribe to:
Posts (Atom)