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.
OS X には[UIView setTransform:]iOS に相当するものがありますか? NSTextField10 度回転させたい があります。iOSでは、[UILabel setTransform:]. Cocoa Framework に相当するものはありますか?
[UIView setTransform:]
NSTextField
[UILabel setTransform:]
frameRotationまたはframeCenterRotationそうすべき
frameRotation
frameCenterRotation
下のレイヤーを使用して回転させることができます
myView.wantsLayer = YES; myView.layer.transform = CATransform3DMakeRotation(angle, 0, 0, 1);
ps QuartzCoreをインポートすることを忘れないでください