How to change UILabel font size same as another UILabel?

How to change the font size gradually in a UILabel?

  • 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.

  • Answer:

    I got it, look at this (it is a sample project for the iPhone): http://drp.ly/Gl9cb

Flocked at Stack Overflow Visit the source

Was this solution helpful to you?

Other answers

It doesn't look like the font property is animateable.

kubi

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.