tags:

views:

2541

answers:

3

Hi All,

I need to set the font size of the titlelabel of a UIButton programmatically...I am using iPhone SDK 3.0.Please help me

Thanx in advance, Regards, Syam S

+3  A: 
button.titleLabel.font = [UIFont systemFontOfSize:size];

should help

Vladimir
A: 

I hope it will be help to you

[_button.titleLabel setFont:[UIFont systemFontOfSize:15]];

good luck

fyasar