Moped/MPNotificationView — pull request #18 by zetachang (2013-02-28 04:13:29+00:00)
Title: Fix rotation issue

The approach here is using `[[UIApplication sharedApplication] statusBarOrientation]` to get the interface orientation from status bar rather than from `[UIDevice currentDevice].orientation`.

Also, when user rotate the device while notification window is hidden, we need to wait for the status bar animation to be finished to get the right orientation. And that is what [line 79-83](https://github.com/zetachang/MPNotificationView/commit/9b60bd16017f8ccd7bd62fda4366f67a5ebbac41#L0R79) do.

This should fix Moped/MPNotificationView#14 and Moped/MPNotificationView#12 :smile: