I guess when you rolling the observer is called orientationChanged
: with one of these orientation,
UIDeviceOrientationFaceUp,
UIDeviceOrientationFaceDown
By default, an app and a view controller’s supported interface orientations are set to UIInterfaceOrientationMaskAll
for the iPad.
OR
Use UIApplicationDidChangeStatusBarFrameNotification instead of UIDeviceOrientationDidChangeNotification - From the @Leon Comment.