windows
アプリケーションの表示可能なウインドウ(読み出しのみ)
@property(nonatomic, readonly) NSArray *windows
解説
アプリケーションの表示可能なウインドウ(読み出しのみ)
このプロパティはアプリケーションの表示可能なウインドウの配列を保持します。
ウインドウは後ろから前の順序です。
フレームワーク
UIKit
クラス
UIApplication
Instance Methods
使用可能
iPhone2.0
参照
例文
NSArray *windowArray = application.windows; NSUInteger i, count = [windowArray count]; for (i = 0; i < count; i++) { NSObject * obj = [windowArray objectAtIndex:i]; NSLog(@"%@",[obj description]); }
定義
UIApplication.h