If we compile our old source with >= 3.x versions, we will get this warning..
1.UITableviewCell
old code for version :
cell.font = [UIFont boldSystemFontOfSize: 16];
the new code will be
[cell.textLabel setFont:[UIFont boldSystemFontOfSize: 16]];
2.UIButton
[cell.aButton.titleLabel setFont:[UIFont boldSystemFontOfSize:16]];
1.UITableviewCell
old code for version :
cell.font = [UIFont boldSystemFontOfSize: 16];
the new code will be
[cell.textLabel setFont:[UIFont boldSystemFontOfSize: 16]];
2.UIButton
[cell.aButton.titleLabel setFont:[UIFont boldSystemFontOfSize:16]];
nice one.Thank u for the help,but it does not work for button.
ReplyDeleteyes, it does. just:
ReplyDelete[aButton.titleLabel setFont...
for a button on a view. His example is a button that is part of a cell.
Thank u it is working
ReplyDeletewith regards,
Apple1.1 developers
very well
ReplyDelete