ios - Rotate a UIButton that I pulled from a NSArray -
i trying apply transformation button have pulled array:
buttonarray[y].transform=cgaffinetransformmakerotation(m_pi);
but doesn't this... there different way me same?
i figured out:
cgaffinetransform rotate = cgaffinetransformmakerotation(1.0); [[buttonarray[y] layer] setaffinetransform:rotate];
Comments
Post a Comment