Orientation does not work any longer in iOS 6

As the API for orientation has changed in iOS 6, mobileorg does not rotate any longer depending on the orientation of the device.