So I found the solution for the version 2.2.11.
I added this to AppDelegate.h:
#import "IIViewDeckController.h"
@interface AppDelegate : UIResponder <UIApplicationDelegate, IIViewDeckControllerDelegate>
In AppDelegate.m, in didFinishLaunchingWithOptions class:
deckController.delegate = self;
Then I added the viewDeckController:applyShadow:withBounds: selector to the end of AppDelegate.m:
- (void)viewDeckController:(IIViewDeckController *)viewDeckController applyShadow:(CALayer *)shadowLayer withBounds:(CGRect)rect {
shadowLayer.masksToBounds = NO;
shadowLayer.shadowRadius = 0;
shadowLayer.shadowOpacity = 0;
shadowLayer.shadowColor = nil;
shadowLayer.shadowOffset = CGSizeZero;
shadowLayer.shadowPath = nil;
}