摘要:
btn.frame = CGRectMake(x, y, width, height);[btn setTitle: @"search" forState: UIControlStateNormal];//设置按钮上的自体的大小//[btn setFont: [UIFont systemFontSize: 14.0]]; //这种可以用来设置字体的大小,但是可能会在将来的SDK版本中去除改方法//应该使用btn.titleLabel.font = [UIFont systemFontOfSize: 14.0];[btn seBackgroundColor: [UIColor 阅读全文
posted @ 2013-03-07 09:24
Dadada胖纸er
阅读(244)
评论(0)
推荐(0)