Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
配列から取得したボタンに変換を適用しようとしています:
buttonArray[y].transform=CGAffineTransformMakeRotation(M_PI);
しかし、これは好きではありません...私が同じことをする別の方法はありますか?
私はそれを考え出した:
CGAffineTransform rotate = CGAffineTransformMakeRotation(1.0); [[buttonArray[y] layer] setAffineTransform:rotate];