jdg/MBProgressHUD — pull request #211 by paulbramsen (2014-06-27 06:07:34+00:00)
Title: Use the proper notification for status bar orientation change

Currently you are using the UIDeviceOrientationDidChangeNotification which isn't quite right. Under certain conditions if you flip the device really fast you can end up with the top view upside down and the others right side up. The proper notification is UIApplicationDidChangeStatusBarOrientationNotification (which is what you're interested in after all since orientation is determined by status bar orientation, not device orientation).