public override bool ShouldAutorotate () { // Disable autorotation of the interface when recording is in progress return movieFileOutput == null || !movieFileOutput.Recording; }