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

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -