画面(スクリーン)がミラーリングされているかどうかは、UIScreen インスタンスの mirroredScreen プロパティをチェックすれば良い。
// class UIScreen
@property(nonatomic, readonly, retain) UIScreen *mirroredScreen
スクリーンは、UIWindow にリンクしている。
// class UIWindow
@property(nonatomic, retain) UIScreen *screen
そして、UIWindow は UIApplication にリンクしている
// class UIApplication
@property(nonatomic, readonly) NSArray *windows