This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define UPDATE_ORIENTATION_NOTI CFSTR("iolate/UpdateOrientation") | |
static UIWindow* additionalWindow = nil; | |
static UIView* mainViewInWindow = nil; | |
static void updateOrientation(CFNotificationCenterRef center, void *observer, CFStringRef name, const void *object, CFDictionaryRef userInfo) { | |
UIInterfaceOrientation orientation = [UIApplication sharedApplication].statusBarOrientation; | |
int orientation_ = 0; | |