m1entus/MZFormSheetController — pull request #135 by imaks (2014-12-23 19:52:02+00:00)
Title: [fix] Updating blur only on interface orientation change

This is the fix for #126.

It seems that I haven't provided enough information in that issue, so I attach a small [video](https://www.dropbox.com/s/1q1gnblrjygbc8t/%D0%92%D0%B8%D0%B4%D0%B5%D0%BE%2023.12.14%2C%2022%2033%2012.mov?dl=0) that describes it, here are the steps:
1. Run example project on any device (there is an iPad on the video though).
2. Put NSLog or breakpoint on top of `didOrientationChangeNotificationHandler:` method of `MZFormSheetBackgroundWindow` class to output device orientation whenever it changes.
3. Move device as shown on the video
4. See the console

As you see method is called when interface orientation doesn't change, so if blur enabled this wastes device memory and power. Simply putting blur updating to `didChangeStatusBarOrientationNotificationHandler` results in incorrect background rendering during rotation on iOS 7, so I've come with this quick and dirty fix.