romaonthego/RESideMenu — pull request #27 by blork (2013-08-10 17:34:30+00:00)
Title: Fix menu closing on inappropriate rotation events

This commit will prevent the menu from closing when orientation change is UIDeviceOrientationFaceDown or UIDeviceOrientationFaceUp.

Seeing as we have to register for device orientation changes rather than interface ones (because they have to be intercepted) the callback was being fired unnecessarily when no rotation had taken place, for instance when a user picked up their device.