标签:class blog color width set rgb
UISwitch大小总是改不了...找了一个简便方法.
?mySwitch = [[UISwitch alloc] initWithFrame: CGRectMake( width - 55, height * .5 - 15, 100, 20)]; [mySwitch setOn: YES animated: YES]; mySwitch.transform = CGAffineTransformMakeScale( .75, .75); mySwitch.onTintColor = RGBACOLOR( 99, 155, 0, 1);?
标签:class blog color width set rgb
原文地址:http://www.cnblogs.com/jz319/p/3805571.html