在我的工作应用程序(iOS7.0.1)中,UIDeviceOrientationDidChangeNotification被调用。现在,当我在iOS8.0中运行此应用程序时,UIDeviceOrientationDidChangeNotification未被调用。尝试了很多,但没有成功。EDIT-1:我使用下面的代码来添加方向变化的观察者。在iOS7中运行完美。iOS8不走运。[[NSNotificationCenterdefaultCenter]addObserver:selfselector:@selector(deviceOrientationDidChange:)name:UI