摘要: UIButton *Btn;CGRect frame;Btn = [[UIButton buttonWithType:UIButtonTypeCustom] retain];//按钮的类型 [Btn setImage:[UIImage imageNamed:@“aaa.png”] forState:UIControlStateNormal];//设置按钮图片 Btn.tag = 10; frame.size.width = 59;//设置按钮的宽度 frame.size.height = 59; //设置按钮的高度 frame.origin.x =150; //设置按钮的位置 frame.or 阅读全文
posted @ 2012-11-16 10:41 小乐" 阅读(315) 评论(0) 推荐(0) 编辑