isRotatedFromBase
回転しているかを返します
解説
回転しているかを返します。
返り値
( BOOL )
回転しているかYES/NO
引数
フレームワーク
ApplicationKit
クラス
NSView
Instance Methods
使用可能
10.0
参照
- frameRotation
- boundsRotation
例文
#import "MyObject.h" @implementation MyObject - (IBAction)myAction:(id)sender { if ([sender isRotatedFromBase]){ [info setStringValue:@"YES"]; } else{ [info setStringValue:@"NO"]; } } @end