摘要: button=[UIButtonbuttonWithType:UIButtonTypendedRect];//定义一个圆角按钮button.frame=CGRectMake(120, 320, 60, 30);//定义他的位置,大小[buttonsetTitle:@"ok1"forState:UIControlStateNormal];CGAffineTransform transform =CGAffineTransformRotate(3.14/6);//定义一个transform 旋转(3.14/6);[buttonsetTransform:transform];bu 阅读全文
posted @ 2012-09-27 13:17 老码农豆豆 阅读(798) 评论(0) 推荐(0) 编辑