IOS Orientation 详解
最近开发IOS遇到一个问题,
为了支持UI布局横屏竖屏,监听了
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(notifyOrientation:) name:UIDeviceOrientationDidChangeNotification object:nil];
最近开发IOS遇到一个问题,
为了支持UI布局横屏竖屏,监听了
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(notifyOrientation:) name:UIDeviceOrientationDidChangeNotification object:nil];