How to change the font size gradually in a UILabel?

Posted by Flocked on Stack Overflow See other posts from Stack Overflow or by Flocked
Published on 2010-03-23T01:58:22Z Indexed on 2010/03/23 2:01 UTC
Read the original article Hit count: 382

Hello, is there a way to change the font size gradually in a UILabel? I tried it with:

[UIView beginAnimations:@"foo" context:nil];
[UIView setAnimationDuration:0.8];
uiLabel.font = [UIFont boldSystemFontOfSize:144];
[UIView commitAnimations];

The problem is that the change of the font size happens instantly.

© Stack Overflow or respective owner

Related posts about objective-c

Related posts about core-animation